diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-04-07 17:49:49 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-04-07 20:13:53 +0200 |
commit | 322b1499cd4d34b0148a15cb615ad6dff8203ed2 (patch) | |
tree | 3e59f707bc5cb26eb4f258bb033c6615757527a5 /debian/control | |
parent | 5b512051870017aebd79ff2ca05ad8be671728b2 (diff) |
nitb: Check source string length before calling strncpy (Coverity)
Currently some VTY command do neither check the length of the source
string before calling strncpy nor ensure NUL-termination afterwards.
This can to destination string buffers whose contents are not
NUL-teminated.
This commit adds checks and corresponding warnings to the VTY
commands 'subscriber TYPE ID name .NAME" and "subscriber TYPE ID
extension EXTENSION".
Fixes: Coverity CID 1206570, 1206569
Sponsored-by: On-Waves ehf
Diffstat (limited to 'debian/control')
0 files changed, 0 insertions, 0 deletions