HomeFreeBSD

ng_parse: disallow negative length for malloc

Description

ng_parse: disallow negative length for malloc

This is an interim robustness improvement; further improvements as
described in the PR and/or Phabricator review are still needed.

PR: 267334
Reported by: Robert Morris <rtm@lcs.mit.edu>
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37229

Details

Provenance
emasteAuthored on Nov 1 2022, 2:01 PM
Differential Revision
D37229: ng_parse: disallow negative length for malloc
Parents
rG169e23d41f8f: hexdump.3: Add missing LIBRARY section
Branches
Unknown
Tags
Unknown