HomeFreeBSD

MFC r329105: ppp(8): fix code producing debugging logs

Description

MFC r329105: ppp(8): fix code producing debugging logs

ppp(8): fix code producing debugging logs

Fix several cases when long buffer is copied to shorter one
using snprintf that results in contents truncation and
clobbering unsaved errno value and creation of misleading logs.

PR: 218517
Approved by: mav (mentor)

Details

Provenance
eugenAuthored on
Parents
rS330804: MFC r329105: ppp(8): fix code producing debugging logs
Branches
Unknown
Tags
Unknown