Displaying 1 result from an estimated 1 matches for "disk_norm".
1999 Jun 24
0
2.0.4b - Bug in dfree > 2GB reporting for 16-bit clients
In 2.0.4b 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 in...