From: Mark Wielaard <mark@klomp.org>
To: elfutils-devel@sourceware.org
Subject: Re: [PATCH] libdwfl: Don't dereference possibly unaligned auxv entry pointer from core.
Date: Fri, 24 Nov 2017 12:42:00 -0000 [thread overview]
Message-ID: <1511527317.3112.30.camel@klomp.org> (raw)
In-Reply-To: <1511183725-31739-1-git-send-email-mark@klomp.org>
On Mon, 2017-11-20 at 14:15 +0100, Mark Wielaard wrote:
> The notes in a core file that contain the auxv entries might not be
> naturally aligned. The code already tried to account for that, but
> the GCC 8 undefined behaviour sanitizer found we were till dereferencing
> the actual auxv entry pointer directly. Fix this by calculating all pointers
> by hand and not use an array of auxv entries trick.
>
> This makes make distcheck (which enables sanitize-undefined by default)
> pass again using GCC8.
Pushed this to master now.
prev parent reply other threads:[~2017-11-24 12:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-20 13:15 Mark Wielaard
2017-11-24 12:42 ` Mark Wielaard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1511527317.3112.30.camel@klomp.org \
--to=mark@klomp.org \
--cc=elfutils-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).