misc/103822: Command "quot -a" causes the unexpected segmentation
fault
Dmitry Stefankov
5817 at ostrov.net
Fri Sep 29 13:20:35 PDT 2006
>Number: 103822
>Category: misc
>Synopsis: Command "quot -a" causes the unexpected segmentation fault
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 29 20:20:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Dmitry Stefankov
>Release: 5.5, 6.1, 6.1-STABLE
>Organization:
RadioMayak
>Environment:
>Description:
quot -a causes a segmentation fault on any FreeBSD system with 5.x, 6.x versions.
>How-To-Repeat:
Call from command line: quot -a
>Fix:
In file quot.c in function get_inode add the check on the cache flush.
124,125c124
< //if (super->fs_magic == FS_UFS2_MAGIC) {
< if (super && super->fs_magic == FS_UFS2_MAGIC) {
---
> if (super->fs_magic == FS_UFS2_MAGIC) {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list