Subject: CVS commit: src/sbin/fsck_ffs
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <email@example.com>
Date: 12/05/2005 23:59:43
Module Name: src
Committed By: christos
Date: Mon Dec 5 23:59:43 UTC 2005
ndb is daddr_t which is 64 bits, by truncating it to j which is an int, it
can get negative causing segmentation faults. Check against this.
To generate a diff of this commit:
cvs rdiff -r1.39 -r1.40 src/sbin/fsck_ffs/pass1.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.