On Friday 21 November 2008 05:07:50 Sebastian Kuzminsky wrote:
> Sebastian Kuzminsky wrote:
> > --- nml.cc 2008/04/27 01:43:50 1.18
> > +++ nml.cc 2008/11/21 02:59:48 1.19
> > @@ -68,6 +68,7 @@
> > {
> > if (cfg_file == NULL) {
> > default_nml_config_file = NULL;
> > + return;
> > }
> > default_nml_config_file = (char *) malloc(strlen(cfg_file) + 1);
This needs a !=NULL check after malloc.
> > strcpy(default_nml_config_file, cfg_file);
>
> Holy hell what's up with libnml? Looks like a dog puked in there.
>
>
--
Greetings Michael.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers