geoip: make sure we null-terminate after read
commit7cd3e9e94ae848974d52b929fd28652f4c7d48c5
authorDaniel Borkmann <dborkman@redhat.com>
Sat, 16 Mar 2013 12:29:56 +0000 (16 13:29 +0100)
committerDaniel Borkmann <dborkman@redhat.com>
Sat, 16 Mar 2013 12:29:56 +0000 (16 13:29 +0100)
tree20aa4e551fc877a184deb1f65fc6497eaba49b04
parentcf73bb526709f6e6783f634b7a8504dbefda9768
geoip: make sure we null-terminate after read

Make sure raw is null-terminated after we read the buffer that we
receive from the remote end. Detected by coverty scan.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
geoip.c