Re: Bug#260260: wmpinboard crashes when typing keyboard chars
On Wed, Aug 04, 2004 at 04:32:05AM +0200, Adeodato Sim? wrote:
>
> question to the X11 people: does a segfault at
>
> #0 0x41671029 in XmbLookupString () from /usr/X11R6/lib/libX11.so.6
>
> *always* mean that the bug should be reassigned to libx11-6?
I'm no X hacker, but in general, libraries are not assumed to not segfault
if you pass them the wrong arguments.
The declaration of this function includes:
char * /* buffer_return */
int /* bytes_buffer */
I haven't read the API doco, but I guess if bytes_buffer is longer than
the size of allocated space for buffer_return, it's likely to segfault.
(this includes when buffer_return is unallocated)
--
Robert Millan
(Debra and Ian) (Gnu's Not (UNiplexed Information and Computing System))/\
(kernel of *(Berkeley Software Distribution))
Reply to: