https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118821
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Host|aarch64-linux-gnu, |
|x86_64-linux-gnu |
Target| |aarch64-linux-gnu,
| |x86_64-linux-gnu
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://github.com/erlang/otp/blob/29138f5dd1618d197ff382e7748756bd904678f7/erts/emulator/beam/dist.c#L3874C16-L3874C20
There is no check for a nullptr here.
Yes a nullptr will cause a crash but maybe it would be better if you add one to
be on the safe side and/or easier to debug the crash ...