Follow-up Comment #1, bug #45050 (project make):

after some check, I believe that the problem is in the code:

char * unescape_char(char *string, int c) {
    .....

    /* here, s can point to 0, however, after ++, the s might skip the 0 and
continue reading "wild memory" */
    *(p++) = *(s++);  
    .....
}




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45050>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to