HomeFreeBSD

MFC r311378:

Description

MFC r311378:

lm_load: fix string copying issues

  • Ensure section doesn't overrun section by using strlcpy instead of strcpy [*].
  • Use strdup instead of malloc + strcpy (this wasn't flagged by Coverity, but is an opportunistic change).

CID: 1006826 [*]

Details

Provenance
ngieAuthored on
Parents
rS312053: MFC r311378:
Branches
Unknown
Tags
Unknown