diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-03 08:02:41 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-03 08:02:41 +0000 |
commit | 6a019636b980857cf896f250841de757644ba9dd (patch) | |
tree | a55c969f53624d123c5743cd655588128356dfa5 /source3/smbd/quotas.c | |
parent | 1c8e1e04480c5c050a0112ac70f3e66fab80ebba (diff) | |
download | samba-6a019636b980857cf896f250841de757644ba9dd.tar.gz samba-6a019636b980857cf896f250841de757644ba9dd.tar.bz2 samba-6a019636b980857cf896f250841de757644ba9dd.zip |
Fixed nasty bug where file writes with start offsets in the range
0x80000000 -> 0xFFFFFFFF would fail as they were being cast
from IVAL (uint32) to SMB_OFF_T (off_t or off64_t, both *signed* types).
The sign extension would cause the offset to be treated as negative.
Thanks to Herb for helping me track this one down (IRIX is good for large
file tests :-).
Jeremy.
PS. That horrid EXEXIST thing has broken configure.....
(This used to be commit 2d14c442bc601a277458b69f05a763aa2a1ab3b7)
Diffstat (limited to 'source3/smbd/quotas.c')
0 files changed, 0 insertions, 0 deletions