Follow-up Comment #1, bug #29358 (project grep):

This is a null pointer dereference in isdir1. The pointer in question is
"path" which is used in isdir1 before being assigned.

Looking at lib/savedir.c, I can't figure out what this "path" variable is
used for.

Simply setting
  pathlen = dirlen + filelen + 2;
  path = xrealloc (path, pathlen);
in isdir1 will fix the segfault.

With this fix in place, the --include switch doesn't work, though.

    _______________________________________________________

Reply to this item at:

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

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



Reply via email to