samba3.5.1pre01 - create time - change in sys_stat, sys_fstat and sys_lstat
Dina Fine
dina at exanet.com
Thu Dec 3 05:26:09 MST 2009
Hi
It seems that system call wrappers sys_stat, sys_fstat and sys_lstat
have a bug when calling stat and not stat64.
temp stat struct " struct stat statbuf" is used to get the file stat
information inside the ifdef block. But you use this temp stat also
outside the block even if it was not initiated at all, causing the stat
replies be a garbage.
The fix patch is attached.
Dina Fine, R&D Team Leader - Core Technologies
-------------- next part --------------
A non-text attachment was scrubbed...
Name: system.c.patch
Type: application/octet-stream
Size: 1475 bytes
Desc: system.c.patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091203/3d284706/attachment.obj>
More information about the samba-technical
mailing list