[File] [patch] Don't use stale statbuf
Christos Zoulas
christos at zoulas.com
Mon Jan 19 18:54:12 UTC 2026
You got it!
Thanks,
christos
> On Jan 19, 2026, at 12:51 PM, Steven Grubb <sgrubb at redhat.com> wrote:
>
> Hello,
>
>
>
> If for some reason stat fails, when it calls into close_and_restore, we should not use the exist sb variable to restore the time stamps. The attached patch passes okstat into close_and _restore and returns after closing the descriptor if okstat is 0.
>
>
> -Steve
>
>
> <okstat.patch>--
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file
> <sanitizer.log>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.astron.com/pipermail/file/attachments/20260119/15032bd6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20260119/15032bd6/attachment.asc>
More information about the File
mailing list