Bug in Samba 2.2.3-pre - Converting first instance of CR/LF to CR/0x00

Alexander Dubinin alex at inn.intel.com
Tue Jan 22 02:50:06 GMT 2002


Hello, all!

I'm using CVS version of Samba (it shows 2.2.3-pre, updated 21.01.2001 
8:00 GMT) on FreeBSD 4.5-RC.

Then user creating or just writing text file from Windows(Win2K in my 
case), first instance of 0x0d/0x0a replaced by 0x0d/0x00.
With version 2.2.2 this works Ok (excluding other problems, which 
doesn't appear with 2.2.3 ;)

Example:
 E:\set >\\SERVER\Share\test.txt

- Cut -
00000000 41 4C 4C 55 x 53 45 52 53 x 50 52 4F 46 x 49 4C 45 3D x 46 3A 
5C 55   ALLUSERSPROFILE=F:\U
00000014 53 45 52 53 x 5C 41 6C 6C x 20 55 73 65 x 72 73 0D 00 x 41 50 
50 44   SERS\All Users..APPD
00000028 41 54 41 3D x 46 3A 5C 55 x 53 45 52 53 x 5C 61 64 75 x 62 69 
6E 69   ATA=F:\USERS\adubini
0000003C 6E 5C 41 70 x 70 6C 69 63 x 61 74 69 6F x 6E 20 44 61 x 74 61 
0D 0A   n\Application Data..
- Cut -

Pair of CR/LF at offset 0x00000023 was replaced by CR/0x00

Regards!
  Alexander Dubinin
      IT & EC engineer,
      Intel Nizhny Novgorod Laboratory.






More information about the samba mailing list