Page MenuHomeFreeBSD

loader: make sure we do not return garbage from help_getnext
ClosedPublic

Authored by tsoome on Apr 16 2018, 8:55 AM.

Details

Summary

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().

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

tsoome created this revision.Apr 16 2018, 8:55 AM
bapt accepted this revision.Apr 16 2018, 12:42 PM
This revision is now accepted and ready to land.Apr 16 2018, 12:42 PM
This revision was automatically updated to reflect the committed changes.