lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 3 Jul 2009 11:01:34 +1000
From: silky <michaelslists@...il.com>
To: Gadi Evron <ge@...uxbox.org>
Cc: full-disclosure@...ts.grok.org.uk, fuzzing@...testar.linuxbox.org,
	code-crunchers@...testar.linuxbox.org
Subject: Re: [Code-Crunchers] a simple race condition and
	how you'd solve it

On Fri, Jul 3, 2009 at 10:25 AM, Gadi Evron<ge@...uxbox.org> wrote:
> A friend recently demonstrated on his blog a simple race condition he
> encountered. He also challenged folks to solve the problem.
>
> http://www.algorithm.co.il/blogs/index.php/programming/a-simple-race-condition/
>
> There's an interesting discussion in the comments which is worth a quick
> read.
>
> Also, maybe someone here will come up with a cuter idea?

Posted my proposed solution in the comments, but will probably take a
while to be moderated.

Basically, you just need to check if you should still be computing,
and, at the end of computation, if your data is still "wanted".


>        Gadi.
> --
> Gadi Evron,
> ge@...uxbox.org.
>
> Blog: http://gevron.livejournal.com/

-- 
noon silky
http://lets.coozi.com.au/

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ