diff options
author | Marcus Müller <mueller@kit.edu> | 2018-07-18 18:02:45 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-08-23 22:18:26 +0200 |
commit | 94c7a31ab80555c86d2207eb44c6c7fa6e59b9d5 (patch) | |
tree | 3d22cdf0973bcab78470db84227a0a6eb04a074f /gr-analog/python/analog/qa_phase_modulator.py | |
parent | 75b4ae3d2a64cbf9b3dc473f5821aaf1997b4a6c (diff) |
Fixed out-of-bound vector acces in PMT (pre-C++11 version)
adresses cases where initialization of uvec happened with empty
`std::vector`, as well as when getting the address of the first element
of an empty uvec, lead to undefined behaviour through doing `vec[0]` for
empty `vec`.
This commit, unlike the similar commit of the same message, uses `NULL`
in case of `nullptr` (maint-3.7 doesn't require C++11).
Diffstat (limited to 'gr-analog/python/analog/qa_phase_modulator.py')
0 files changed, 0 insertions, 0 deletions