|
From: | Paul Eggert |
Subject: | Re: C warning in MSYS2 build |
Date: | Thu, 5 Oct 2017 15:44:36 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 |
On 10/05/2017 01:08 PM, Richard Copley wrote:
FWIW it seems to me that the results of the buffer_display_table calls in c_string_width and lisp_string_width are dereferenced unchecked, in character.c.
I don't see how those two functions dereference the results. Although they do pass results to char_width, char_width has a run-time check that prevents dereferencing the results when null.
[Prev in Thread] | Current Thread | [Next in Thread] |