** Description changed:
regcomp fails to compile the regular expression "^ " with memory error
- if malloc(0) returns NULL. That's valid malloc behavior, compare
- malloc(3).
+ if malloc(0) returns NULL. That's valid malloc behavior, compare the man
+ page malloc(3).
I had a little trouble
** Attachment added: "program exhibiting bug (compile with -ldl)"
https://bugs.launchpad.net/bugs/998256/+attachment/3141970/+files/test.c
** Description changed:
regcomp fails to compile the regular expression "^ " with memory error
if malloc(0) returns NULL. That's valid malloc behavior,