bin/147482: mksnap_ffs(8) prints garbage as error message when
nmount(2) fails
Nicholas Mills
nlmills at g.clemson.edu
Fri Jun 4 23:10:02 UTC 2010
>Number: 147482
>Category: bin
>Synopsis: mksnap_ffs(8) prints garbage as error message when nmount(2) fails
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Jun 04 23:10:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Nicholas Mills
>Release: 8.0-RELEASE
>Organization:
Clemson University
>Environment:
FreeBSD freebsd.localdomain 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
The utility named mksnap_ffs(8) outputs uninitialized data as an error message in certain cases when nmount(2) fails.
>How-To-Repeat:
Run "mksnap_ffs /" to get the error message "mksnap_ffs: Cannot create snapshot /: <garbage>: Is a directory".
>Fix:
The errmsg string should be initialized and only output if it is set by nmount(2).
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list