Subject: PR/36636 CVS commit: src/usr.sbin/envstat
To: None <xtraeme@NetBSD.org, gnats-admin@netbsd.org,>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: netbsd-bugs
Date: 07/12/2007 18:35:02
The following reply was made to PR bin/36636; it has been noted by GNATS.
From: Juan Romero Pardines <xtraeme@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/36636 CVS commit: src/usr.sbin/envstat
Date: Thu, 12 Jul 2007 18:24:35 +0000 (UTC)
Module Name: src
Committed By: xtraeme
Date: Thu Jul 12 18:24:35 UTC 2007
Modified Files:
src/usr.sbin/envstat: envstat.c
Log Message:
- Do not refrence memory already freed, thanks to Geoff C. Wing for
the analysis. Closes PR bin/36636.
- Also use the longest string for the column alignment counting all
sensors available from all devices, not per-device.
Thanks to rmind@ for help.
To generate a diff of this commit:
cvs rdiff -r1.30 -r1.31 src/usr.sbin/envstat/envstat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.