https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #23 from Alan Modra ---
(In reply to John Dong from comment #22)
> Hi, can we backport this patch to binutils-2_34-branch ?
You can of course do what you like with your own copy of binutils, but I don't
consider this series of pat
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
John Dong changed:
What|Removed |Added
CC||dongjianqiang2 at huawei dot
com
--- Com
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #21 from cvs-commit at gcc dot gnu.org ---
The binutils-2_36-branch branch has been updated by Alan Modra
:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d3edaa91d4cf7202ec14342410194841e2f67f12
commit d3edaa91d4cf72
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Alan Modra changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Bug 26945 depends on bug 27270, which changed state.
Bug 27270 Summary: ar segfaults trying to build virtualbox guest additions
https://sourceware.org/bugzilla/show_bug.cgi?id=27270
What|Removed |Added
--
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Bug 26945 depends on bug 27284, which changed state.
Bug 27284 Summary: ar: wrong permissions on output file
https://sourceware.org/bugzilla/show_bug.cgi?id=27284
What|Removed |Added
-
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #19 from cvs-commit at gcc dot gnu.org ---
The binutils-2_36-branch branch has been updated by Alan Modra
:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6184480d7ce1bcd57669a62867efc68418d0de7c
commit 6184480d7ce1bc
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #18 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Alan Modra :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=95b91a043aeaeb546d2fea556d84a2de1e917770
commit 95b91a043aeaeb546d2fea556d84
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Siddhesh Poyarekar changed:
What|Removed |Added
Status|REOPENED|ASSIGNED
--- Comment #17 from Si
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Alan Modra changed:
What|Removed |Added
Depends on||27270, 27284
Resolution|FIXED
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Salvatore Bonaccorso changed:
What|Removed |Added
Alias||CVE-2021-20197
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Siddhesh Poyarekar changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNE
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #14 from Siddhesh Poyarekar ---
I've posted a patch series on the list[1][2][3][4] that should resolve this.
In summary, smart_rename now takes an FD for the file to rename and a struct
describing the ownership and timestamps to f
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #13 from Rich Felker ---
This patch keeps expanding way beyond the scope of what I can commit to review,
and I don't think it's nearing something that fixes the problem. It's not clear
to me if bfd_stat uses fstat on the open file
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Nick Clifton changed:
What|Removed |Added
Attachment #13007|0 |1
is obsolete|
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #11 from Rich Felker ---
Yes, see my footnote in comment 4. That works just as well.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Nick Clifton changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |nickc at redhat dot com
--
You
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Nick Clifton changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #10 from Nick Cli
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #9 from Rich Felker ---
> > 1. make_tempname with fd_return==NULL is *always* a bug,
> Well, I would argue that it is only a bug if the temporary file is going to
be manipulated by other system functions.
Are you going to create
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Nick Clifton changed:
What|Removed |Added
Attachment #13006|0 |1
is obsolete|
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Nick Clifton changed:
What|Removed |Added
Attachment #13004|0 |1
is obsolete|
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #6 from Nick Clifton ---
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 f
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Nick Clifton changed:
What|Removed |Added
Attachment #13003|0 |1
is obsolete|
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #4 from Rich Felker ---
That's a lot to review without being familiar with the code, but a couple
things I can tell you right off:
1. make_tempname with fd_return==NULL is *always* a bug, and defeats the whole
purpose of mkstemp.
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #3 from Nick Clifton ---
Created attachment 13003
--> https://sourceware.org/bugzilla/attachment.cgi?id=13003&action=edit
Proposed patch
Hi Rich,
Ok - here is my first attempt at creating a patch. Please could you give
it
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
--- Comment #2 from Rich Felker ---
It's not that smart_rename should open it and use fchown+fchmod on the result;
indeed as you figured that has the same race. The problem is that you threw
away the only safe way to perform modifications on t
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Nick Clifton changed:
What|Removed |Added
CC||nickc at redhat dot com
Last reconfi
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Siddhesh Poyarekar changed:
What|Removed |Added
Flags||security+
--
You are receiving
https://sourceware.org/bugzilla/show_bug.cgi?id=26945
Rich Felker changed:
What|Removed |Added
CC||siddhesh at sourceware dot org
--
You
29 matches
Mail list logo