Date: Thu, 28 Apr 2005 12:37:15 +0000 (UTC) From: Robert Drehmel <robert@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/rs rs.c Message-ID: <200504281237.j3SCbFBr036468@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
robert 2005-04-28 12:37:15 UTC
FreeBSD src repository
Modified files:
usr.bin/rs rs.c
Log:
- Set negative row or column argument values to zero.
Negative values would produce undefined behaviour including
a possible segmentation fault.
- Explicitly initialize the global row and column variables
to zero.
PR: bin/80348
Revision Changes Path
1.13 +5 -3 src/usr.bin/rs/rs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504281237.j3SCbFBr036468>
