search for: wordmax

Displaying 1 result from an estimated 1 matches for "wordmax".

1999 Jun 24
0
2.0.4b - Bug in dfree > 2GB reporting for 16-bit clients
...using a 16-bit client (in this case Lanman for DOS), disk space reporting for partitions greater than 2GB always reports 0 space free. I've tracked this down to the disk_norm routine in the smbd/dfree.c file. In the code for adjusting block size and disk size/free values for 16-bit reporting, WORDMAX was incorrectly being multiplied by 512 before being compared with bsize. This resulted in the offending values not being truncated to fit into 16-bit fields. I've included a patch below to fix this: ----- begin dfree.c.patch ----- *** smbd/dfree.c.orig Mon Feb 1 18:37:33 1999 --- smbd/dfr...