CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2016/09/01 04:01:53

Modified files:
        usr.bin/mg     : tags.c 

Log message:
Fix possible NULL pointer dereference.

Found by Coverity Scan.  The tagsvisit() function calls eread(),
which may return NULL.  This is then immediately passed to stat()
without a proper check.  This patch adds that check.

>From Joachim Nilsson <[email protected]> via lum@. Ok lum@

Reply via email to