[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug report on freebsd-buildutils: mtree crashes with exit status 139



2013/6/28 Robert Millan <rmh@debian.org>:
>> -               if (!*p || *p == '#')
>> +               if (!*p || *p == '#') {

Silly me, looks like I can't read C anymore. Please ignore what I said
about null dereference. Anyway, I guess it can be simplified this way?

> if (!*p)
>  continue;
>
> if (*p == '#')
>  {
>     ...
>  }

--
Robert Millan


Reply to: