KTemporaryFile::createLocalFile()

Oswald Buddenhagen ossi at kde.org
Wed Jul 4 23:34:06 BST 2007


On Thu, Jul 05, 2007 at 12:25:10AM +0200, David Faure wrote:
> On Wednesday 04 July 2007, Oswald Buddenhagen wrote:
> > On Wed, Jul 04, 2007 at 09:44:11PM +0200, David Faure wrote:
> > > Much better than getting a temp filename and closing the file,
> > > which effectively opens it up to symlink attacks
> > >
> > this doesn't make any sense. by this logic, the command line
> > utilities tempfile and mktemp should be immediately banned from use.
> 
> Well, no, since tempfile returns an open FILE*, not just a string.
> 
then we have very different systems - last time i checked command line
apps were unable to return FILE* objects. ;)

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list