diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-01-26 08:15:41 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2010-01-26 08:15:41 -0500 |
commit | a065c177dfc8f968775593ba00dffafeebb2e054 (patch) | |
tree | fcc1ace9adbe0e3e379b07e2f20ca952699048f8 /swat2/menu.js | |
parent | 3ae5dac462c4ed0fb2cd94553583c56fce2f9d80 (diff) | |
download | samba-a065c177dfc8f968775593ba00dffafeebb2e054.tar.gz samba-a065c177dfc8f968775593ba00dffafeebb2e054.tar.bz2 samba-a065c177dfc8f968775593ba00dffafeebb2e054.zip |
mount.cifs: check for invalid characters in device name and mountpoint
It's apparently possible to corrupt the mtab if you pass embedded
newlines to addmntent. Apparently tabs are also a problem with certain
earlier glibc versions. Backslashes are also a minor issue apparently,
but we can't reasonably filter those.
Make sure that neither the devname or mountpoint contain any problematic
characters before allowing the mount to proceed.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'swat2/menu.js')
0 files changed, 0 insertions, 0 deletions