[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-disclosure] usb_modeswitch/pppd -detach
- To: srm <srm@xxxxxxxxxxxx>
- Subject: Re: [Full-disclosure] usb_modeswitch/pppd -detach
- From: "Larry W. Cashdollar" <larry0@xxxxxx>
- Date: Sun, 22 Jan 2012 02:38:57 +0000 (GMT)
<html><body><div>Hi,<br><br>This is still a race condition since the pid can be
guessed easily as well. It's better to use mktemp
<code>/tmp/debug.XXXXXXXXXX</code>.<br><br>-- Larry C$<br><br><br>On Jan 21,
2012, at 02:14 PM, srm <srm@xxxxxxxxxxxx> wrote:<br><br><div><blockquote
type="cite"><div class="msg-quote"><div class="_stretch"><br> <br> So, the
problem is definitive in the community package of archlinux.<br> *sigh*. I
checked version 1.2.2 from<br> <br> <a
href="http://www.draisberghof.de/usb_modeswitch/#download"
data-mce-href="http://www.draisberghof.de/usb_modeswitch/#download">http://www.draisberghof.de/usb_modeswitch/#download</a><br>
<br> It doesn't contain the '/tmp/debug' statement.<br> <br> However: The
following version has the debug statement:<br> <a
href="https://www.archlinux.org/packages/community/i686/usb_modeswitch/"
data-mce-href="https://www.archlinux.org/packages/community/i686/usb_modeswitch/">https://www.archlinux.org/packages/community/i686/usb_modeswitch/</a><br>
<br> ,grep -n '/tmp/debug' usb_modeswitch.sh<br> 66: echo "symlink-name: $2"
>/tmp/debug<br> <br> <br> A possible quick fix could be to append $$:<br>
66: echo "symlink-name: $2" >/tmp/debug.$$<br> <br> Greetings<br> srm<br>
<br></div></div></blockquote></div></div></body></html>
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/