From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9343 Path: news.gmane.org!not-for-mail From: Hugues Bruant Newsgroups: gmane.linux.lib.musl.general Subject: Re: dynlink.c: bug in reclaim_gaps leading to segfault in __libc_exit_fini Date: Wed, 17 Feb 2016 01:27:27 -0500 Message-ID: References: <20160216215550.GC9915@port70.net> <20160217002123.GB9349@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1130ce1c0872fd052bf15867 X-Trace: ger.gmane.org 1455690463 32058 80.91.229.3 (17 Feb 2016 06:27:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Feb 2016 06:27:43 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9356-gllmg-musl=m.gmane.org@lists.openwall.com Wed Feb 17 07:27:42 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1aVvaP-0004PS-ON for gllmg-musl@m.gmane.org; Wed, 17 Feb 2016 07:27:41 +0100 Original-Received: (qmail 17788 invoked by uid 550); 17 Feb 2016 06:27:39 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 17762 invoked from network); 17 Feb 2016 06:27:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aerofs-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=56zRm3iHDHNcjJ2c56Wn+ryNo1xITbZujzUSrYSGmiw=; b=L6pvAChe5Rvut3lAs6IVYg8Mkg9ieSgHPKfJPNvVKZU/xcgqsC3XpHUxo1pJODpT2W sDF4wTrgnDZUQO5x5RQND+MGQblZed2CP+WzOExoEJYHLrJz3E2J0mkG3GyqR3VOe1Lb tIc9M7+agnhZd6jl9qIU+ojFPOOEYRry8pBVjTlW0CNqKoZjyhDgofAYXwYe0O2Iwqgz k3+8HIhA1LwH/FiyNqoE9izr1lSZTs5DX2Sgx3C/if7Xm9X1v04Tct3156CF/pH+JfUh U3SBFOJy4JKbBKYOT6mxqu+91w1ViL74HG43KT2UkjUYOa6Ce8MNbbFUp0NAimAyx/xC 5zyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=56zRm3iHDHNcjJ2c56Wn+ryNo1xITbZujzUSrYSGmiw=; b=gcsxUnZWbWaOacuHyu4tFg5Gi30YnyKp84VUF0hGMkJx9o/omnHtLxgszvw+W/gJC7 ehpjenrSd1Im2eRMIulHc1ioeTKuEJwJIaNoMjsVOV4fBBorreENpbo2bwkQ4WvFl+Rj Veg96PclzSukj5ah013FaHx6DUb/FQ9+XGJjzDq/10xAVCrU9am/iVBe4Cizyu1GtK1z gITUJHuDzWqW7M4FOPTgsKn0wYu6cRqK2LE3XnXWb2gPFDtlO+XYYKF4iwHpZ0z6ldlf Ez6xV2oTzs9iDf+f8GH00IDDz6NxkEYGfft/xGsrrJIKG6jrvBGkwtA0JCg7pvXkpsLx 7WsA== X-Gm-Message-State: AG10YORoGfindxPyTtjOogujP4hmH55pG3/wQ8uGrtXUgApcNDMd66F4l9CCb24Z9WGnckTqeK1a4Knjtg8P30t1 X-Received: by 10.194.113.38 with SMTP id iv6mr3453482wjb.126.1455690447606; Tue, 16 Feb 2016 22:27:27 -0800 (PST) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:9343 Archived-At: --001a1130ce1c0872fd052bf15867 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I've haven't dived deeply in the reclaim_gap logic but now I'm curious to know how it would interact with "creatively packed" ELF files: http://www.muppetlabs.com/~breadbox/software/tiny/teensy.html I'm not doing anything of the sort but it's worth considering how resilient the loader code would be to an aggressively optimizing linker. =E2=80=8B --001a1130ce1c0872fd052bf15867 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I've haven't dived deeply in the reclaim_gap logic= but now I'm curious to know how it would interact with "creativel= y packed" ELF files:=C2=A0http://www.muppetlabs.com/~breadbox/software/= tiny/teensy.html

I'm not doing anything of the s= ort but it's worth considering how resilient the loader code would be t= o an aggressively optimizing linker.
=E2=80=8B
--001a1130ce1c0872fd052bf15867--