Use of uninitialized memory

Nick Clifton nickc@redhat.com
Mon Sep 18 11:06:36 GMT 2023


Hi Jacob,

   Thanks for the bug report and detailed analysis.
> HOW TO FIX:
> 1) Intead of calling XNEW call XCNEW that calls calloc instead of malloc.
>    This will ensure that the inequality will fail.

Agreed, and simple is better as far as I am concerned, so I have
checked in this solution.

Cheers
   Nick



More information about the Binutils mailing list