[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/external/bsd/pkg_install/dist/lib
Module Name: src
Committed By: martin
Date: Thu May 16 19:19:44 UTC 2013
if no eol is found in the string we set "next" to NULL, assign it
to "buf" and then check the loop condition by dereferencing it - which
does not work well.
Change the loop condition to first check for buf == NULL.
To generate a diff of this commit:
cvs rdiff -u -r184.108.40.206 -r1.2 src/external/bsd/pkg_install/dist/lib/var.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |