samba3.5.1pre01 - create time - change in sys_stat, sys_fstat and sys_lstat

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Dec 3 07:18:21 MST 2009


On Thu, Dec 03, 2009 at 02:26:09PM +0200, Dina Fine wrote:
> 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.

Thanks!

I'll look at it very soon, this is indeed serious.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091203/40898774/attachment.pgp>


More information about the samba-technical mailing list