aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc_nat
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2015-04-07 17:49:49 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-07 20:13:53 +0200
commit322b1499cd4d34b0148a15cb615ad6dff8203ed2 (patch)
tree3e59f707bc5cb26eb4f258bb033c6615757527a5 /openbsc/src/osmo-bsc_nat
parent5b512051870017aebd79ff2ca05ad8be671728b2 (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 'openbsc/src/osmo-bsc_nat')
0 files changed, 0 insertions, 0 deletions