[Bug 173459] Review Request: initng

bugzilla at redhat.com bugzilla at redhat.com
Sun Nov 27 12:21:50 UTC 2005


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: initng


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173459





------- Additional Comments From enrico.scholz at informatik.tu-chemnitz.de  2005-11-27 07:21 EST -------
> >   | *** buffer overflow detected ***: ngc terminated
> ...
> Que? This is really strange! Is it reproducable?

It is caused by an strcat() at ngc2.c:553 and/or 556:

530     /* get help */
531     int ngc_hlp(void)
532     {
...
545             char lname[26];
546
547             /* copy name to the new static array */
548             strncpy(lname, row.l, 25);
549
550             switch (row.o)
551             {
552                 case USES_OPT:
553                     strcat(lname, " <opt>");
554                     break;
555                 case REQUIRES_OPT:
556                     strcat(lname, " opt");


(gdb) p row
        deINT_COMMAND,  
  o = REQUIRES_OPT, 
  d = "Print what dependencies that are depending on me deep", '\0' <repeats 47 times>, "


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list