]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix string termination in snmplib
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 4 Jun 2013 02:59:47 +0000 (20:59 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 4 Jun 2013 02:59:47 +0000 (20:59 -0600)
commit268421d171fb86487ab172f9250148162239d5da
treef9555cb248075ab590f645236a7259634382d478
parent57cb5aa15963512d37910acad6bc9d8c16803f84
Fix string termination in snmplib

strncpy() does not null-terminate if the source string is larger or equal
to the destination buffer length.

 Detected by Coverity Scan. Issue 1025738.
snmplib/parse.c