Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 97263 - regexec hang
regexec hang
Product: Red Hat Raw Hide
Classification: Retired
Component: glibc (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-06-12 07:38 EDT by Tim Waugh
Modified: 2016-11-24 10:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-07 06:57:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tim Waugh 2003-06-12 07:38:14 EDT
Description of problem:
This test case, taken from one in the grep test suite, causes regexec
incorrectly not to return.

Version-Release number of selected component (if applicable):

How reproducible:

#include <regex.h>
#include <stdio.h>
int main ()
  regex_t rbuf;
  const char *p;
  int err;
  p = "^(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?).?"
  if ((err = regcomp  (&rbuf, p, REG_NOSUB | REG_EXTENDED))) {
    char errstr[300];
    regerror (err, &rbuf, errstr, sizeof (errstr));
    puts (errstr);
    return err;
  return regexec (&rbuf, "civic", 0, NULL, 0);
Comment 1 Jakub Jelinek 2003-06-17 12:41:51 EDT
Forwarded to Isamu.
Comment 2 Jakub Jelinek 2004-10-07 06:57:41 EDT
Still problem with current glibc.
Tracked upstream: http://sources.redhat.com/bugzilla/show_bug.cgi?id=429

Note You need to log in before you can comment on or make changes to this bug.