https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19089
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |12.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19089
Andrew Pinski changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19089
--- Comment #6 from CVS Commits ---
The trunk branch has been updated by Andrew Pinski :
https://gcc.gnu.org/g:68332ab7ec58a89660db82569c5f4c2251d59741
commit r12-5568-g68332ab7ec58a89660db82569c5f4c2251d59741
Author: Andrew Pinski
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19089
Andrew Pinski changed:
What|Removed |Added
URL||https://gcc.gnu.org/piperma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19089
--- Comment #4 from Andrew Pinski ---
Something like after the access check has passed:
#ifdef S_ISDIR
struct stat s;
if (stat(dir, ) <0)
return NULL;
if (!S_ISDIR (s.st_mode))
return NULL;
#endif
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19089
Andrew Pinski changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot
gnu.org
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-02
01:48 ---
Confirmed.
--
What|Removed |Added
Status|UNCONFIRMED |NEW
--
What|Removed |Added
Component|c |other
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19089
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-20
13:01 ---
In a way this is not a bug:
fd = mkstemps (temp_filename, suffix_len);
/* If mkstemps failed, then something bad is happening. Maybe we should
issue a message about a possible security attack in