bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26945] Unsafe chown+chmod in smart_rename, possibly elsewh


From: nickc at redhat dot com
Subject: [Bug binutils/26945] Unsafe chown+chmod in smart_rename, possibly elsewhere
Date: Mon, 30 Nov 2020 11:34:22 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26945

--- Comment #6 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 13005
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13005&action=edit
Proposed patch

Siddhesh Poyarekar pointed out a bug in the previous patches.  I was calling
fchmod() and fchown() on the TO file descriptor (after calling rename(2)),
rather than the FROM file descriptor.  This upload contains a revised patch
that corrects this bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]