This is the mail archive of the glibc-bugs-regex@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regex/18041] infinite loop in regcomp/calc_eclosure_iter


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

--- Comment #2 from Kostya Serebryany <konstantin.s.serebryany at gmail dot com> ---
Similar case. It also eats all the available RAM. 

#include <regex.h>
int main() {
  regex_t r;
  regcomp(&r, "\\(^\\)\\{9999\\}", 0);
  return 0;
}

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]