[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65957] gettext 0.22.5 fails to build with mingw due to wrong point
From: |
Frédéric |
Subject: |
[bug #65957] gettext 0.22.5 fails to build with mingw due to wrong pointer type in localtime.c |
Date: |
Fri, 5 Jul 2024 16:11:55 -0400 (EDT) |
Follow-up Comment #3, bug #65957 (group gettext):
That's right, *s != NULL may try to dereference a null pointer and the applied
solution in gnulib solves that. Thanks.
However I have the impression that the fix is also not fully right as
s[1] and s[2] may access past the end of the allocated string. Why don't we
simply use strcmp and wcscmp?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65957>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature