Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2010 23:00:38 GMT
From:      Nicholas Mills <nlmills@g.clemson.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/147482: mksnap_ffs(8) prints garbage as error message when nmount(2) fails
Message-ID:  <201006042300.o54N0cOp030979@www.freebsd.org>
Resent-Message-ID: <201006042310.o54NA0t9012225@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006042300.o54N0cOp030979>