From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3378 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: util-linux-2.23 mount segmentation fault error Date: Wed, 29 May 2013 22:04:53 +0200 Message-ID: <20130529200453.GC7095@port70.net> References: <20130525162604.GY20323@brightrain.aerifal.cx> <20130526091432.GE31915@port70.net> <20130527142929.GF31915@port70.net> <51A60C74.6050500@gentoo.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1369857909 17495 80.91.229.3 (29 May 2013 20:05:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 May 2013 20:05:09 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3382-gllmg-musl=m.gmane.org@lists.openwall.com Wed May 29 22:05:10 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UhmcN-0002N7-Jt for gllmg-musl@plane.gmane.org; Wed, 29 May 2013 22:05:07 +0200 Original-Received: (qmail 19740 invoked by uid 550); 29 May 2013 20:05:06 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19732 invoked from network); 29 May 2013 20:05:05 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3378 Archived-At: * plan9assembler [2013-05-29 23:41:13 +0900]: > util-linux umount gets segfaults randomly..(X) > util-linux umount gets segfaults always..(O) > > # ./umount /mnt > traps: umount[9444] general protection ip:7f9c48e618fb sp:7fff72447b88 > error:0 in libc.so[7f9c48e16000+72000] > Segmentation fault. it seems util-linux uses sscanf with %ms to parse mtab in libmount in tab_parse.c after i fixed that mount and umount does not segfault here (used fixed size malloc and %s instead)