public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/12545] New: [PATCH] localedef: fix error check for size_t < 0
@ 2011-03-05 10:08 nikai at nikai dot net
  2011-05-09 17:15 ` [Bug localedata/12545] " drepper.fsp at gmail dot com
  2014-06-27 13:47 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: nikai at nikai dot net @ 2011-03-05 10:08 UTC (permalink / raw)
  To: glibc-bugs

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

           Summary: [PATCH] localedef: fix error check for size_t < 0
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales@sources.redhat.com
        ReportedBy: nikai@nikai.net


Created attachment 5274
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5274
patch

'n' is unsigned of type size_t, and can't be negative.
The assigned asprintf() returns int, and -1 on error.
For checking n < 0, 'n' needs to be of a signed type.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug localedata/12545] [PATCH] localedef: fix error check for size_t < 0
  2011-03-05 10:08 [Bug localedata/12545] New: [PATCH] localedef: fix error check for size_t < 0 nikai at nikai dot net
@ 2011-05-09 17:15 ` drepper.fsp at gmail dot com
  2014-06-27 13:47 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-05-09 17:15 UTC (permalink / raw)
  To: glibc-bugs

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

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |drepper.fsp at gmail dot
                   |                            |com
         Resolution|                            |FIXED

--- Comment #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-05-09 17:15:43 UTC ---
Not quite the correct patch.  I checked in something.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug localedata/12545] [PATCH] localedef: fix error check for size_t < 0
  2011-03-05 10:08 [Bug localedata/12545] New: [PATCH] localedef: fix error check for size_t < 0 nikai at nikai dot net
  2011-05-09 17:15 ` [Bug localedata/12545] " drepper.fsp at gmail dot com
@ 2014-06-27 13:47 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:47 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

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


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

end of thread, other threads:[~2014-06-27 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-05 10:08 [Bug localedata/12545] New: [PATCH] localedef: fix error check for size_t < 0 nikai at nikai dot net
2011-05-09 17:15 ` [Bug localedata/12545] " drepper.fsp at gmail dot com
2014-06-27 13:47 ` fweimer at redhat 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).