HomeFreeBSD

ctf_discard(): fetch the next list element before restarting the loop. If

Description

ctf_discard(): fetch the next list element before restarting the loop. If
we end up skipping a dynamic type because it has already been committed to
the container, we would previously either set the loop variable to an
uninitialized local variable, or set it to itself, resulting in an infinite
loop.

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
markjAuthored on
Parents
rS279861: MFV r279822:
Branches
Unknown
Tags
Unknown

Event Timeline