summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/srv_dfs.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-01-26 08:15:41 -0500
committerJeff Layton <jlayton@redhat.com>2010-01-26 08:15:41 -0500
commita065c177dfc8f968775593ba00dffafeebb2e054 (patch)
treefcc1ace9adbe0e3e379b07e2f20ca952699048f8 /librpc/gen_ndr/srv_dfs.h
parent3ae5dac462c4ed0fb2cd94553583c56fce2f9d80 (diff)
downloadsamba-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 'librpc/gen_ndr/srv_dfs.h')
0 files changed, 0 insertions, 0 deletions