Subject: CVS commit: src/games/robots
To: None <source-changes@NetBSD.org>
From: David Brownlee <abs@netbsd.org>
List: source-changes
Date: 03/17/2006 23:11:47
Module Name: src
Committed By: abs
Date: Fri Mar 17 23:11:47 UTC 2006
Modified Files:
src/games/robots: score.c
Log Message:
If getpwuid() returns null, its not usually a good idea to dereference
that to try to assign a default value. Just copy the default value into
the final destination.
Addresses Coverty CID 925
To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 src/games/robots/score.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.