Taesoo Kim 2bd50fb3d4 cifs: potential memory leaks when parsing mnt opts
For example, when mount opt is redundently specified
(e.g., "user=A,user=B,user=C"), kernel kept allocating new key/val
with kstrdup() and overwrite previous ptr (to be freed).

Althouhg mount.cifs in userspace performs a bit of sanitization
(e.g., forcing one user option), current implementation is not
robust. Other options such as iocharset and domainanme are similarly
vulnerable.

Signed-off-by: Taesoo Kim <tsgatesv@gmail.com>
Signed-off-by: Steve French <smfrench@gmail.com>
2015-03-21 12:01:50 -05:00
..
2014-12-10 17:41:02 -08:00
2014-12-14 14:55:45 -06:00
2014-12-10 17:41:02 -08:00
2015-01-20 14:03:05 -07:00
2015-01-18 23:49:26 -05:00
2014-10-17 17:17:12 -05:00
2014-12-14 14:55:57 -06:00
2014-12-14 14:55:45 -06:00
2014-12-14 14:55:45 -06:00