summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2013-05-24 07:40:04 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-07 12:49:31 -0700
commitd0436288c2286cc471b03bddf36c04f937b1e752 (patch)
tree3363e86a5f9b6a24b19139700c3f704cee74ffa0 /crypto
parenta43adb2a09ec54181238bd00117585c3e6014f56 (diff)
cifs: fix potential buffer overrun when composing a new options string
commit 166faf21bd14bc5c5295a44874bf7f3930c30b20 upstream. Consider the case where we have a very short ip= string in the original mount options, and when we chase a referral we end up with a very long IPv6 address. Be sure to allow for that possibility when estimating the size of the string to allocate. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions