This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-CVS19980627, mips-sgi-irix6.2 bootstrap problem ...


Martin Knoblauch <knobi@rocketmail.com> writes:

>> > If it is necessary to drop the extension for
> security reasons, then we have

>  OOOp. What are the security reasons? Just curious.

The way gcc created temporary names was easily predictable, so any
user could manage to overwrite arbitrary files owned by whoever runs
gcc, by creating soft-links from names gcc is likely to use to files
he intended to overwrite.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]