KTemporaryFile::createLocalFile()

Oswald Buddenhagen ossi at kde.org
Wed Jul 4 22:43:27 BST 2007


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.

> (why do you think the KTemporaryFile API makes it difficult to do
> this? ;)
> 
> > K/QTemporaryFile does not provide this functionality directly
> On purpose.
> 
i doubt it.

i'm +1 on this patch.

-- 
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