public inbox for glibc-bugs-regex@sourceware.org
help / color / mirror / Atom feed
* [Bug regex/12348] New: re_match_2, re_search_internal, etc. infloop on persistent failing calloc
@ 2010-12-27  7:36 jim at meyering dot net
  2010-12-27  7:37 ` [Bug regex/12348] " jim at meyering dot net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jim at meyering dot net @ 2010-12-27  7:36 UTC (permalink / raw)
  To: glibc-bugs-regex

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

           Summary: re_match_2, re_search_internal, etc. infloop on
                    persistent failing calloc
           Product: glibc
           Version: 2.13
            Status: NEW
          Severity: normal
          Priority: P2
         Component: regex
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: jim@meyering.net


Ignoring a failing calloc in build_trtable causes its caller, transit_state to
get stuck in an infinite loop.

Patch below.

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

* [Bug regex/12348] re_match_2, re_search_internal, etc. infloop on persistent failing calloc
  2010-12-27  7:36 [Bug regex/12348] New: re_match_2, re_search_internal, etc. infloop on persistent failing calloc jim at meyering dot net
@ 2010-12-27  7:37 ` jim at meyering dot net
  2010-12-27  7:44 ` jim at meyering dot net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jim at meyering dot net @ 2010-12-27  7:37 UTC (permalink / raw)
  To: glibc-bugs-regex

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

--- Comment #1 from jim at meyering dot net <jim at meyering dot net> 2010-12-27 07:37:14 UTC ---
Created attachment 5166
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5166
do not cause search to infloop on calloc failure

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

* [Bug regex/12348] re_match_2, re_search_internal, etc. infloop on persistent failing calloc
  2010-12-27  7:36 [Bug regex/12348] New: re_match_2, re_search_internal, etc. infloop on persistent failing calloc jim at meyering dot net
  2010-12-27  7:37 ` [Bug regex/12348] " jim at meyering dot net
@ 2010-12-27  7:44 ` jim at meyering dot net
  2010-12-27  7:53 ` jim at meyering dot net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jim at meyering dot net @ 2010-12-27  7:44 UTC (permalink / raw)
  To: glibc-bugs-regex

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

jim@meyering.net <jim at meyering dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5166|0                           |1
        is obsolete|                            |

--- Comment #2 from jim at meyering dot net <jim at meyering dot net> 2010-12-27 07:44:01 UTC ---
Created attachment 5167
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5167
do not cause search to infloop on calloc failure

Adjusted git patch to have a sensible subject (i.e., not matching the bare BZ
number of the first line of ChangeLog entry).

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

* [Bug regex/12348] re_match_2, re_search_internal, etc. infloop on persistent failing calloc
  2010-12-27  7:36 [Bug regex/12348] New: re_match_2, re_search_internal, etc. infloop on persistent failing calloc jim at meyering dot net
  2010-12-27  7:37 ` [Bug regex/12348] " jim at meyering dot net
  2010-12-27  7:44 ` jim at meyering dot net
@ 2010-12-27  7:53 ` jim at meyering dot net
  2010-12-27 16:37 ` jim at meyering dot net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jim at meyering dot net @ 2010-12-27  7:53 UTC (permalink / raw)
  To: glibc-bugs-regex

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

jim@meyering.net <jim at meyering dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5167|0                           |1
        is obsolete|                            |

--- Comment #3 from jim at meyering dot net <jim at meyering dot net> 2010-12-27 07:53:10 UTC ---
Created attachment 5168
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5168
do not cause search to infloop on calloc failure

heh. get both git log and ChangeLog entries right.

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

* [Bug regex/12348] re_match_2, re_search_internal, etc. infloop on persistent failing calloc
  2010-12-27  7:36 [Bug regex/12348] New: re_match_2, re_search_internal, etc. infloop on persistent failing calloc jim at meyering dot net
                   ` (2 preceding siblings ...)
  2010-12-27  7:53 ` jim at meyering dot net
@ 2010-12-27 16:37 ` jim at meyering dot net
  2010-12-27 23:21 ` drepper.fsp at gmail dot com
  2014-06-27 14:16 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: jim at meyering dot net @ 2010-12-27 16:37 UTC (permalink / raw)
  To: glibc-bugs-regex

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

jim@meyering.net <jim at meyering dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5168|0                           |1
        is obsolete|                            |

--- Comment #4 from jim at meyering dot net <jim at meyering dot net> 2010-12-27 16:36:51 UTC ---
Created attachment 5170
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5170
do not cause search to infloop on calloc failure

fix

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

* [Bug regex/12348] re_match_2, re_search_internal, etc. infloop on persistent failing calloc
  2010-12-27  7:36 [Bug regex/12348] New: re_match_2, re_search_internal, etc. infloop on persistent failing calloc jim at meyering dot net
                   ` (3 preceding siblings ...)
  2010-12-27 16:37 ` jim at meyering dot net
@ 2010-12-27 23:21 ` drepper.fsp at gmail dot com
  2014-06-27 14:16 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: drepper.fsp at gmail dot com @ 2010-12-27 23:21 UTC (permalink / raw)
  To: glibc-bugs-regex

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

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

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

--- Comment #5 from Ulrich Drepper <drepper.fsp at gmail dot com> 2010-12-27 23:21:40 UTC ---
Patch applied.

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

* [Bug regex/12348] re_match_2, re_search_internal, etc. infloop on persistent failing calloc
  2010-12-27  7:36 [Bug regex/12348] New: re_match_2, re_search_internal, etc. infloop on persistent failing calloc jim at meyering dot net
                   ` (4 preceding siblings ...)
  2010-12-27 23:21 ` drepper.fsp at gmail dot com
@ 2014-06-27 14:16 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 14:16 UTC (permalink / raw)
  To: glibc-bugs-regex

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

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

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-27  7:36 [Bug regex/12348] New: re_match_2, re_search_internal, etc. infloop on persistent failing calloc jim at meyering dot net
2010-12-27  7:37 ` [Bug regex/12348] " jim at meyering dot net
2010-12-27  7:44 ` jim at meyering dot net
2010-12-27  7:53 ` jim at meyering dot net
2010-12-27 16:37 ` jim at meyering dot net
2010-12-27 23:21 ` drepper.fsp at gmail dot com
2014-06-27 14:16 ` 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).