diff options
author | Insu Yun <wuninsu@gmail.com> | 2016-02-01 11:34:58 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2016-02-10 18:04:56 -0600 |
commit | f34d69c3e54908c97708d0d65075f7c6074fc87e (patch) | |
tree | a474276b61cd22d01cfc53fa3d77f3f3153b245b /drivers/md/dm-cache-policy-smq.c | |
parent | 997152f62751b7d16f1b864121c912fd19032bdf (diff) |
cifs: fix potential overflow in cifs_compose_mount_options
In worst case, "ip=" + sb_mountdata + ipv6 can be copied into mountdata.
Therefore, for safe, it is better to add more size when allocating memory.
Signed-off-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'drivers/md/dm-cache-policy-smq.c')
0 files changed, 0 insertions, 0 deletions