[Bug 71177] [NEW] cronolog exits with segmentation fault, when you use --unknown-longopt

Launchpad Bug Tracker 71177 at bugs.launchpad.net
Tue Feb 17 00:27:19 GMT 2009


You have been subscribed to a public bug by Charlie_Smotherman (porthose) (cjsmo):

> % /usr/bin/cronolog --unknown-longopt
> [1]    10748 segmentation fault (core dumped)  /usr/bin/cronolog --unknown-longopt

This problem caused by not null-terminated long_options near
src/cronolog.c:142.

> struct option long_options[] =
> {
...
>     { "version",        no_argument,            NULL, 'V' }
> };

BTW, Maybe we need to do s/--prevlink/--prev-symlink/g in manual page.

** Affects: cronolog (Ubuntu)
     Importance: Medium
         Status: Triaged

** Affects: cronolog (Debian)
     Importance: Unknown
         Status: Unknown

** Affects: cronolog (Gentoo Linux)
     Importance: Unknown
         Status: Fix Released

-- 
cronolog exits with segmentation fault, when you use --unknown-longopt
https://bugs.edge.launchpad.net/bugs/71177
You received this bug notification because you are a member of Ubuntu Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list