[binutils-gdb] nm: Avoid potential segmentation fault when displaying symbols without version info.

Alan Modra amodra@gmail.com
Tue Dec 17 09:44:17 GMT 2024


On Tue, Dec 17, 2024 at 09:18:28AM +0000, Nick Clifton via Binutils-cvs wrote:
> +	  /* PR 32467 - Corrupt binaries might include an @ character in a
> +	     symbol name.  Since non-versioned symbol names can be in
> +	     read-only memory (via memory mapping of a file's contents) we
> +	     cannot just replace the @ character with a NUL.  Instead we
> +	     create a truncated copy of the name.  */

Did I miss something with commit 76eab8f47a74?  Hmm, besides not
putting it in on the 2.43 branch yet..

-- 
Alan Modra


More information about the Binutils mailing list