Hi,

"Sebastian Ley" <[EMAIL PROTECTED]> writes:

> I posted this some months ago to dev but the issue still remains:
> 
> I get a segfault in misc/conf.c, function dfb_config_init. When *argc
> is 0, the test on line 689 passes but on line 690 there is a
> nullpointer dereferenciation:
> 
> 689: if (argc && argv) {
> 690:          prog = strrchr( (*argv)[0], '/' );

this has been fixed in the meantime:

2003-03-04 12:39  dok

        * README, src/misc/conf.c: Added extra checks for *argc and *argv
        being non NULL. Thanks to Sebastian Ley
        <[EMAIL PROTECTED]> for pointing out this bug.


the offending lines now read:

689:      if (argc && *argc && argv && *argv) {
690:           prog = strrchr( (*argv)[0], '/' );


Salut, Sven


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to