Summary: | app-admin/cronolog: segfaults if an unknown long option is used | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Carlo Marcelo Arenas Belon <carenas> |
Component: | Current packages | Assignee: | Lance Albertson (RETIRED) <ramereth> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.launchpad.net/ubuntu/+source/cronolog/+bug/71177 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | getopt_long requires that the last record in the longopts array is filled with 0 as documented in getopt(3) |
Description
Carlo Marcelo Arenas Belon
2008-01-06 08:21:08 UTC
the same problem is also present in the test framework cronotest.c which doesn't get installed Created attachment 140259 [details, diff]
getopt_long requires that the last record in the longopts array is filled with 0 as documented in getopt(3)
Committed with patch, thanks! |