From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: mc 4.8.19: segfaults while searching for contents Date: Wed, 04 Oct 2017 16:41:32 +0100 Message-ID: <1507131692.433.10.camel@ipfire.org> In-Reply-To: <16f3832e-4f8a-94d8-d577-688713d65886@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6792861922034679144==" List-Id: --===============6792861922034679144== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi, this doesn't have anything to do with PaX. It's just a bug in mc. Probably has this problem with files that have the SUID bit set?! Did you try to update mc? -Michael On Tue, 2017-10-03 at 09:24 +0200, Matthias Fischer wrote: > Hi, > > On 03.10.2017 08:50, Matthias Fischer wrote: > > ... > > > > Suddenly 'mc 4.8.19' starts throwing segfaults... > > > > ... > > This is weird. > > As soon as directory (e.g. '/usr/local/bin') contains the file > 'ipfirereboot', 'mc' crashes while searching for content 'flush' (e.g.). > > Thus, I would say, 'mc' has problems searching in (specific) binaries - > searching in '/usr/bin' has the same effect. > > And: > > The following 'paxctl'-options had NO effect: > > ... > root(a)ipfire: /usr/bin # paxctl -v /usr/bin/mc > PaX control v0.9 > Copyright 2004,2005,2006,2007,2009,2010,2011,2012,2014 PaX Team > > > - PaX flags: -p-s-m-x-e-- [/usr/bin/mc] > PAGEEXEC is disabled > SEGMEXEC is disabled > MPROTECT is disabled > RANDEXEC is disabled > EMUTRAMP is disabled > ... > > Searching in text-only files is ok, but as soon as directory contains > the above file (or something similar), 'mc' crashes. > > This does NOT happen on my devel with 'mc 4.8.15'... ;-) > > Best, > Matthias --===============6792861922034679144== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUFCQ2dBZEZpRUU1L3JXNWwzR0dl Mnlwa3R4Z0hudy8yK1FDUWNGQWxuVkFTd0FDZ2t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