[PATCH] Use uintptr_t instead of performing pointer subtraction with a null pointer

Fāng-ruì Sòng maskray@google.com
Wed Jun 15 20:14:17 GMT 2022


On 2022-06-15, Carlos O'Donell wrote:
>On 6/14/22 05:23, twose--- via Libc-alpha wrote:
>> From: twosee <twose@qq.com>
>
>Please specify copyright status, either assignment to the FSF or DCO.
>
>Please see the Contribution Checklist:
>https://sourceware.org/glibc/wiki/Contribution%20checklist
>
>> ---
>>  crypt/md5-crypt.c                           | 12 ++++++------
>>  crypt/sha256-crypt.c                        | 12 ++++++------
>>  crypt/sha512-crypt.c                        | 12 ++++++------
>>  elf/dl-minimal-malloc.c                     |  4 ++--
>>  misc/regexp.c                               |  4 ++--
>
>This fails pre-commit CI for i686.
>
>Please see:
>https://patchwork.sourceware.org/project/glibc/patch/tencent_9EEDF01FDFACB8D7D8925BCE5DF066D36E0A@qq.com/

Thanks:) I'll check patchwork state in the future


More information about the Libc-alpha mailing list