[PATCH] iconv: Avoid writable data and relocations in IBM charsets

Florian Weimer fweimer@redhat.com
Wed Oct 26 10:00:00 GMT 2016


On 10/26/2016 11:22 AM, Andreas Schwab wrote:

>> -static const char * __ucs4_to_ibm930sb[] =
>> +static const char __ucs4_to_ibm930sb[][2] =
>
> I think you can even make that [1].

Oh, right, I forgot.  That was the reason why I had postponed the 
cleanup. :-/

This version removes the indirection completely and adjusts the .c 
files, too.

Thanks,
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ibm.patch
Type: text/x-patch
Size: 28727 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20161026/02763e38/attachment.bin>


More information about the Libc-alpha mailing list