Date: Fri, 29 Sep 2006 20:12:37 GMT From: Dmitry Stefankov <5817@ostrov.net> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/103822: Command "quot -a" causes the unexpected segmentation fault Message-ID: <200609292012.k8TKCbjd042807@www.freebsd.org> Resent-Message-ID: <200609292020.k8TKKHfH025158@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609292012.k8TKCbjd042807>