OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Ray Lai (raycvs.openbsd.org)
Date: Mon Jun 01 2009 - 17:57:14 CDT


CVSROOT: /cvs
Module name: src
Changes by: raycvs.openbsd.org 2009/06/01 16:57:14

Modified files:
        games/hack : hack.pager.c

Log message:
Fix fgets handling.
1. Skip blank lines instead of dereferencing NULL-1.
2. If bufr is a blank line don't pass bufr+1 as a pointer.

OK millert