public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "archie.cobbs at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/3662] Implementation bugs in random_r and friends
Date: Tue, 06 Oct 2015 15:36:00 -0000 [thread overview]
Message-ID: <bug-3662-131-Kj9Z1IIAEf@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-3662-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=3662
Archie Cobbs <archie.cobbs at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |archie.cobbs at gmail dot com
--- Comment #10 from Archie Cobbs <archie.cobbs at gmail dot com> ---
Through a long and painful process of debugging and hair-pulling I also arrived
at this issue.
I am now in a state of weary disbelief.
> I already said no. The interfaces are used internally and that's really
> their only purpose. Design and implement your own library with randomization
> functions if you must. If you don't want to provide any more patches to
> the documentation the bug might as well be closed.
WTF are you talking about? These functions are exposed and documented as normal
library functions just like all the others:
NAME
random_r, srandom_r, initstate_r, setstate_r - reentrant
random number generator
...
DESCRIPTION
These functions are the reentrant equivalents of the functions
described in random(3). They are suitable for use in multithreaded
programs where each thread needs to obtain an independent,
reproducible sequence of random numbers.
This is a malevolent segfault booby-trap!
I can't believe the maintainers of glibc don't care.
--
You are receiving this mail because:
You are on the CC list for the bug.
next prev parent reply other threads:[~2015-10-06 15:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-3662-131@http.sourceware.org/bugzilla/>
2012-12-19 10:51 ` schwab@linux-m68k.org
2015-10-06 15:36 ` archie.cobbs at gmail dot com [this message]
2006-12-05 19:59 [Bug libc/3662] New: " glibcbugs0000 at cneufeld dot ca
2006-12-05 23:58 ` [Bug libc/3662] " drepper at redhat dot com
2006-12-06 3:02 ` glibcbugs0000 at cneufeld dot ca
2009-11-25 3:25 ` kenta at cs dot stanford dot edu
2009-11-25 3:25 ` kenta at cs dot stanford dot edu
2009-11-25 4:36 ` drepper at redhat dot com
2009-11-25 12:20 ` glibcbugs0000 at cneufeld dot ca
2009-11-25 14:26 ` drepper at redhat dot com
2009-11-25 14:51 ` glibcbugs0000 at cneufeld dot ca
2009-11-25 15:21 ` glibcbugs0000 at cneufeld dot ca
2010-07-27 7:58 ` kenta at cs dot stanford dot edu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-3662-131-Kj9Z1IIAEf@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=glibc-bugs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).