Bug#366694: libc6: regerror.3 calls abort when given a bad argument

2006-05-11 Thread Justin Pryzby
On Thu, May 11, 2006 at 12:57:52AM +0200, Denis Barbier wrote: > On Wed, May 10, 2006 at 09:02:50AM -0400, Justin Pryzby wrote: > > Package: libc6 > > Version: 2.3.6-7 > > Severity: normal > > > > The following causes a program to abort(): > > > > regerror(ret, NULL, NULL, 0); > > > > AFAIK

Bug#366694: libc6: regerror.3 calls abort when given a bad argument

2006-05-10 Thread Justin Pryzby
Package: libc6 Version: 2.3.6-7 Severity: normal The following causes a program to abort(): regerror(ret, NULL, NULL, 0); AFAIK this is wrong, since regerror() is exported. It should detect invalid values for "preg" (such as NULL, which could actually be a compile-time check, __attribut