summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2011-02-15 13:30:47 -0500
committerJeff Layton <jlayton@samba.org>2011-02-15 13:30:47 -0500
commit38eaab88a08a66adb535d0e5cdcaea9859131c5b (patch)
tree0d6f77b3df3ef4fbeb18d93259bef086c706017d /configure.ac
parentb6d2d91df012f965f29ba26489aca009712a230c (diff)
downloadcifs-utils-38eaab88a08a66adb535d0e5cdcaea9859131c5b.tar.gz
cifs-utils-38eaab88a08a66adb535d0e5cdcaea9859131c5b.tar.bz2
cifs-utils-38eaab88a08a66adb535d0e5cdcaea9859131c5b.zip
mount.cifs: fix handling of scopeid in resolve_host
We get a pointer to the end of the address string (ipaddr), but the call snprintf and pass in tmpbuf which is a pointer to the beginning of the address string. If someone passes in an address with a scopeid then we end up overwriting the entire address string. Reported-by: Björn JACKE <bj@sernet.de> Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions