samba-head bug relating to windows special chars (1/2)
Richard Sharpe
rsharpe at ns.aus.com
Wed Nov 6 05:43:00 GMT 2002
Hi,
I have been tracking down a problem with profiles that was reported last
year to do with names like '31/2 Floppy (A).lnk' where 1/2 is the special
character that shows up as 1/2 under Windows.
This problem does not occur with Linux and Samba 2.0.7, and does not occur
with Samba-head and Slowaris or FreeBSD, however, it does it occur with
Linux (RedHat 7.2) and samba-head.
The problem occurs when server_push is called to transfer the name to the
response as a UNICODE string. However, while the string is fully in the
buffer, for some reason, there is a 0x00 0x00 right after the 0x33 0x00
inserted for the 3.
Now investigating why server_push is screwing the string up.
Regards
-----
Richard Sharpe, rsharpe at ns.aus.com, rsharpe at samba.org,
sharpe at ethereal.com, http://www.richardsharpe.com
More information about the samba-technical
mailing list