Subject: Re: CVS commit: pkgsrc/sysutils/dmesg2gif
To: Hubert Feyrer <hubertf@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-changes
Date: 10/20/2003 10:00:57
On Mon, 20 Oct 2003, Hubert Feyrer wrote:

>  * Clean up temp file

I had a look at this code. It has unsafe tmp file usage.

For example, a normal user could run:

jot 30000 | while read num ; do echo ln -s /etc/master.passwd /tmp/dmesg2gif.${num}.dot ; done

(remove echo above)

(Also, can you add a CVS identification tag to the script.)

   Jeremy C. Reed
   http://bsd.reedmedia.net/