public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18588] crypt "leaks" ENOENT
       [not found] <bug-18588-131@http.sourceware.org/bugzilla/>
@ 2015-06-24  6:58 ` akshay.moghe at gmail dot com
  2015-06-24  7:01 ` akshay.moghe at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: akshay.moghe at gmail dot com @ 2015-06-24  6:58 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18588

--- Comment #1 from Akshay <akshay.moghe at gmail dot com> ---
My tests using SHA512 surfaced this behavior, but MD5 also exhibits the same
behavior.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/18588] crypt "leaks" ENOENT
       [not found] <bug-18588-131@http.sourceware.org/bugzilla/>
  2015-06-24  6:58 ` [Bug libc/18588] crypt "leaks" ENOENT akshay.moghe at gmail dot com
@ 2015-06-24  7:01 ` akshay.moghe at gmail dot com
  2015-06-24  7:04 ` ldv at altlinux dot org
  2015-06-24  7:22 ` akshay.moghe at gmail dot com
  3 siblings, 0 replies; 4+ messages in thread
From: akshay.moghe at gmail dot com @ 2015-06-24  7:01 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18588

Akshay <akshay.moghe at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akshay.moghe at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/18588] crypt "leaks" ENOENT
       [not found] <bug-18588-131@http.sourceware.org/bugzilla/>
  2015-06-24  6:58 ` [Bug libc/18588] crypt "leaks" ENOENT akshay.moghe at gmail dot com
  2015-06-24  7:01 ` akshay.moghe at gmail dot com
@ 2015-06-24  7:04 ` ldv at altlinux dot org
  2015-06-24  7:22 ` akshay.moghe at gmail dot com
  3 siblings, 0 replies; 4+ messages in thread
From: ldv at altlinux dot org @ 2015-06-24  7:04 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18588

--- Comment #2 from Dmitry V. Levin <ldv at altlinux dot org> ---
Could you elaborate, please, why "leaking" of ENOENT by crypt(3) is a bug?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/18588] crypt "leaks" ENOENT
       [not found] <bug-18588-131@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2015-06-24  7:04 ` ldv at altlinux dot org
@ 2015-06-24  7:22 ` akshay.moghe at gmail dot com
  3 siblings, 0 replies; 4+ messages in thread
From: akshay.moghe at gmail dot com @ 2015-06-24  7:22 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18588

Akshay <akshay.moghe at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Akshay <akshay.moghe at gmail dot com> ---
> Could you elaborate, please, why "leaking" of ENOENT by crypt(3) is a bug?

The manpage states that "a function that succeeds is allowed to change errno",
so based on that this isn't a bug. Hence I'm closing this out.

Background: I ran into this in a unit test suite where I explicitly clear the
errno before calling crypt, but find it to be set after crypt returns
successfully. It is a minor annoyance that a failed fips check on my regular
(couldnt-care-less-about-fips) laptop machine causes this behavior, hence I
filed the issue (maybe a little too soon).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-24  7:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-18588-131@http.sourceware.org/bugzilla/>
2015-06-24  6:58 ` [Bug libc/18588] crypt "leaks" ENOENT akshay.moghe at gmail dot com
2015-06-24  7:01 ` akshay.moghe at gmail dot com
2015-06-24  7:04 ` ldv at altlinux dot org
2015-06-24  7:22 ` akshay.moghe at gmail dot com

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