mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
737599268f
At one time, the variables lname and rname were char arrays, but now they are pointers. When they were arrays, sizeof(rname) was the length of the array, but now it gives the size of the pointer which is not what we want. In the case where the filename is -, rname was alloced as size 1, which could never fit the name it wanted to have contain ("stdin-<pid>"). Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Jeremy Allison <jra@samba.org> |
||
---|---|---|
.. | ||
tests | ||
cifsdd.c | ||
cifsdd.h | ||
cifsddio.c | ||
client.c | ||
tree.c |