diff options
author | Jeff Layton <jlayton@samba.org> | 2011-02-15 13:30:47 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2011-02-15 13:30:47 -0500 |
commit | 38eaab88a08a66adb535d0e5cdcaea9859131c5b (patch) | |
tree | 0d6f77b3df3ef4fbeb18d93259bef086c706017d /install-sh | |
parent | b6d2d91df012f965f29ba26489aca009712a230c (diff) | |
download | cifs-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 'install-sh')
0 files changed, 0 insertions, 0 deletions