This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] elf.h SHF_EXCLUDE signed int 31 bit shift triggers undefined behaviour.
- From: Florian Weimer <fweimer at redhat dot com>
- To: Mark Wielaard <mjw at redhat dot com>
- Cc: Szabolcs Nagy <szabolcs dot nagy at arm dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, Josh Stone <jistone at redhat dot com>
- Date: Tue, 28 Apr 2015 14:01:04 +0200
- Subject: Re: [PATCH] elf.h SHF_EXCLUDE signed int 31 bit shift triggers undefined behaviour.
- Authentication-results: sourceware.org; auth=none
- References: <1427193579-26102-1-git-send-email-mjw at redhat dot com> <55117118 dot 1080706 at arm dot com> <20150324211541 dot GA2318 at blokker dot redhat dot com> <1429608058 dot 1938 dot 53 dot camel at bordewijk dot wildebeest dot org> <5537587D dot 5020707 at redhat dot com> <55376772 dot 9000207 at redhat dot com> <1430209326 dot 1938 dot 141 dot camel at bordewijk dot wildebeest dot org>
On 04/28/2015 10:22 AM, Mark Wielaard wrote:
> Thanks. I didn't see other objections. So if it is good to go in could
> someone please push it for me? (I don't have glibc git push access.)
>
> ChangeLog
>
> * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
>
Thanks, committed.
--
Florian Weimer / Red Hat Product Security