HomeFreeBSD

chdone(): Prevent returning uninitialized scalar value.

Description

chdone(): Prevent returning uninitialized scalar value.

If there is an error different from ERESTART, there is some
chance that we may end up accessing an uninitialized value. This
doesn't seem likely/possible but initialize announce_buf[0],
just in case.

CID: 1006486

Details

Provenance
pfgAuthored on
Parents
rS297526: g_sched_destroy(): prevent return of uninitialized scalar variable.
Branches
Unknown
Tags
Unknown