Subject: CVS commit: src/sbin/disklabel
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 03/18/2006 12:48:35
Module Name: src
Committed By: dsl
Date: Sat Mar 18 12:48:35 UTC 2006
Modified Files:
src/sbin/disklabel: interact.c
Log Message:
Avoid indexing beyond the end of a malloced array.
Rework loop to be less confusing.
Coverty 519 made me read this code, but this isn't the 'bug' it found.
To generate a diff of this commit:
cvs rdiff -r1.28 -r1.29 src/sbin/disklabel/interact.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.