Be very careful allowing "utility" functions to modify input strings.
authorMatthew Chapman <matty@samba.org>
Sun, 31 Jan 1999 22:04:08 +0000 (22:04 +0000)
committerMatthew Chapman <matty@samba.org>
Sun, 31 Jan 1999 22:04:08 +0000 (22:04 +0000)
commit80d912f31e6f5c0794f51b18b35a8946736c725e
tree07300bbabf442d5cc85543cc95a8d710c50748cc
parentf0875a00334ad6206cb339d6047a22ce34865442
Be very careful allowing "utility" functions to modify input strings.

check_mangled_cache was not always restoring the filename correctly
before returning False.

Thanks to Christoph Scheeder <christoph.scheeder@Scheeder.de> for tracking
this down.
source/smbd/mangle.c