HomeFreeBSD

loader: make sure we do not return garbage from help_getnext

Description

loader: make sure we do not return garbage from help_getnext

Since we do free subtopic and desc in help_getnext(), we need to set them also
NULL, so we make sure we dont get double free().

Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D15082

Details

Provenance
tsoomeAuthored on Apr 16 2018, 12:46 PM
Parents
rG020d6f96e312: mountd: fix a crash when getgrouplist reports too many groups
Branches
Unknown
Tags
Unknown

Event Timeline