public inbox for glibc-bugs-regex@sourceware.org
help / color / mirror / Atom feed
* [Bug regex/1281] New: support 64-bit hosts when regex code when used outside glibc
@ 2005-08-31 22:43 eggert at gnu dot org
  2005-08-31 22:43 ` [Bug regex/1281] " eggert at gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: eggert at gnu dot org @ 2005-08-31 22:43 UTC (permalink / raw)
  To: glibc-bugs-regex

On 64-bit hosts (where size_t is 64 bits and int is 32 bits), the
old glibc regex code mishandles strings longer than 2**31 bytes.
The attached patch fixes this when the regex code is used in gnulib
(i.e., outside glibc).

This patch should not affect the use of the regex code inside
glibc.  No doubt this problem also needs to be handled for glibc
as well, but the result will be an incompatible change to the
glibc ABI, and the old ABI will have to be supported too.  That
can be the the subject for another patch.

-- 
           Summary: support 64-bit hosts when regex code when used outside
                    glibc
           Product: glibc
           Version: 2.3.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: regex
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: eggert at gnu dot org
                CC: glibc-bugs-regex at sources dot redhat dot com,glibc-
                    bugs at sources dot redhat dot com
 BugsThisDependsOn: 1220


http://sources.redhat.com/bugzilla/show_bug.cgi?id=1281

------- 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] 15+ messages in thread

end of thread, other threads:[~2006-04-25 22:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-31 22:43 [Bug regex/1281] New: support 64-bit hosts when regex code when used outside glibc eggert at gnu dot org
2005-08-31 22:43 ` [Bug regex/1281] " eggert at gnu dot org
2005-08-31 23:34 ` eggert at gnu dot org
2005-09-01  6:59 ` eggert at gnu dot org
2005-09-01  7:05 ` bonzini at gnu dot org
2005-09-01 18:32 ` eggert at gnu dot org
2005-09-01 22:09 ` eggert at gnu dot org
2005-09-01 22:19 ` eggert at gnu dot org
2005-09-01 22:20 ` eggert at gnu dot org
2005-09-06 18:11 ` drepper at redhat dot com
2005-09-06 23:47 ` drepper at redhat dot com
2006-04-19 17:43 ` bruno at clisp dot org
2006-04-25 18:01 ` drepper at redhat dot com
2006-04-25 18:20 ` drepper at redhat dot com
2006-04-25 22:54 ` drepper 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).