Subject: bin/1328: pwdb_mkdb doesn't do any error checking for things like disk space!
To: None <email@example.com>
From: Daniel Hagerty <firstname.lastname@example.org>
Date: 08/10/1995 18:41:29
>Synopsis: pwdb_mkdb doesn't do any error checking for things like disk space!
>Responsible: bin-bug-people (Utility Bug People)
>Arrival-Date: Thu Aug 10 19:05:02 1995
>Originator: Daniel Hagerty
Free Software Foundation
System: NetBSD duality.gnu.ai.mit.edu 1.0A NetBSD 1.0A (DUALITY) #1: Sat Aug 5 22:08:26 EDT 1995 email@example.com:/build/src/sys/arch/hp300/compile/DUALITY hp300
pwd_mkdb doesn't check for successful writes. Running pwd_mkdb
on a full file system results in trashed *.db and master.passwd
files. This is a severe bug.
Pretty damn trivial. Fill up your disk, build a new passwd
file. Poof! You're screwed.
After a quick look at the code, it seems that there is error
checking being done for db put operations. Could the problem be in