HomeFreeBSD

MFC r299591

Description

MFC r299591

Always return either a dynamically allocated string or NULL from
expand(). Never return the name parameter, which could be a the buf[]
buffer which is allocated on the stack by getdeadletter() and which
would then be used after getdeadletter() has returned.

Reported by: Coverity
CID: 1199383

Details

Provenance
truckmanAuthored on
Parents
rS300273: MFC r299585
Branches
Unknown
Tags
Unknown