diff options
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-12-11 21:21:10 +0100 |
---|---|---|
committer | Neels Hofmeyr <nhofmeyr@sysmocom.de> | 2016-12-11 21:24:59 +0100 |
commit | 8fab8413bf76d47300a9d0b0f995ffe7691169b2 (patch) | |
tree | 42d15228cbdb788b8fa4f0e096ef54cd104ceabf /include | |
parent | 675a3cb718fa11e476fcfbe6573e58c6f5d19ae3 (diff) |
NULL safety: sccp_create_sccp_addr: copy only non-NULL sock->gti
presumably, sock->gti_len is always zero when sock->gti is NULL, but ensure
with a check and make coverity scan happy.
Change-Id: I6cf195a3fbda1d9eacbbaec9a0e7f5b4c154f428
Fixes: coverity CID#57683
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions