diff options
author | Jeremy Allison <jra@samba.org> | 2004-03-11 00:31:50 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2004-03-11 00:31:50 +0000 |
commit | 97de8faf37287fc0cd764cb1d6383a9153c437e4 (patch) | |
tree | 40ac2df564ecc7b2b3ad38be092d944c95909f63 /pcp | |
parent | 4f920c2803a38279a3b33c0a121a1b2c8e470766 (diff) | |
download | samba-97de8faf37287fc0cd764cb1d6383a9153c437e4.tar.gz samba-97de8faf37287fc0cd764cb1d6383a9153c437e4.tar.bz2 samba-97de8faf37287fc0cd764cb1d6383a9153c437e4.zip |
Fix processing of pathnames with embedded '\\' characters (0x5c) in CP932
character set. Because of the allowing of "broken conversions" for people
who have broken iconv libraries we can't rely on the return from convert_string()
to be valid - we must check errno instead. This is ripe for revisiting at
some stage. I prefer adding a bool parameter to all convert_string_XX varients
to specify if we will allow broken conversions or not. With "allow_broken_conversions"
set to false we could then rely on the return from convert_string rather than
checking errno.
Jeremy.
(This used to be commit 30c30c5ac53ec8f32a44d0b1b39cc99fe9844467)
Diffstat (limited to 'pcp')
0 files changed, 0 insertions, 0 deletions