fsanitize: member access within null pointer

Pavel Sanda sanda at lyx.org
Thu Dec 16 12:38:43 UTC 2021


On Tue, Dec 07, 2021 at 10:20:02PM -0500, Scott Kostyshak wrote:
> Compiling master with Clang and fsanitize, I get the following when
> LyX starts up (without doing anything else):
> 
>   /home/scott/lyxbuilds/master/repo/src/support/socktools.cpp:114:56: runtime error: member access within null pointer of type 'struct sockaddr_un'
> 
> Can anyone take a look?

Does changing sockaddr -> sockaddr_un in the critical line changes anything? P


More information about the lyx-devel mailing list