public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11099] New: INT_FIELD_MAYBE_NULL changed behaviour on x86_64
@ 2009-12-16 18:41 pterjan at mandriva dot com
  2009-12-17  9:21 ` [Bug libc/11099] " schwab at linux-m68k dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: pterjan at mandriva dot com @ 2009-12-16 18:41 UTC (permalink / raw)
  To: glibc-bugs

We had password aging bugs on Mandriva and I found that when a field of
/etc/shadow contains -1, it gets 32 bits value of -1 on x86_64 even if the field
is long in the struct.

According to the doc it should indeed be empty to disable instead of containing
-1, but well the field is signed and nothing prevents from having a negative value

It used to work and the behavior change broke tests like spw->sp_* != -1 in pam
modules

The change was introduced by
http://repo.or.cz/w/glibc.git/commitdiff/1e545d0185072ac0d4646223d509c3692cbe550a with
a commit message unrelated to this part of the commit

-- 
           Summary: INT_FIELD_MAYBE_NULL changed behaviour on x86_64
           Product: glibc
           Version: 2.11
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: pterjan at mandriva dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11099

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2014-06-30 20:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11099-131@http.sourceware.org/bugzilla/>
2011-05-30  2:28 ` [Bug libc/11099] INT_FIELD_MAYBE_NULL changed behaviour on x86_64 drepper.fsp at gmail dot com
2014-06-30 20:31 ` fweimer at redhat dot com
2009-12-16 18:41 [Bug libc/11099] New: " pterjan at mandriva dot com
2009-12-17  9:21 ` [Bug libc/11099] " schwab at linux-m68k dot org
2010-04-05  4:33 ` drepper at redhat dot com
2010-04-05 15:14 ` pterjan at mandriva 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).