Page MenuHomeFreeBSD

Fix an early return in ctld UCL parser
ClosedPublic

Authored by rstone on Aug 27 2021, 3:58 PM.
Tags
None
Referenced Files
F153607334: D31703.id.diff
Wed, Apr 22, 7:22 AM
Unknown Object (File)
Mon, Apr 20, 11:35 PM
Unknown Object (File)
Mon, Apr 20, 1:43 PM
Unknown Object (File)
Sun, Apr 19, 10:04 PM
Unknown Object (File)
Wed, Apr 15, 8:08 AM
Unknown Object (File)
Wed, Apr 15, 7:21 AM
Unknown Object (File)
Tue, Apr 14, 2:28 AM
Unknown Object (File)
Fri, Apr 10, 8:01 AM
Subscribers

Details

Summary

If the UCL ctld parser encountered a port that used the CTL
ioctl device, it fell into a special case that had an erroneous
early return. This caused all configuration in the target
following the port attribute to be skipped. Fix this by replacing
the return with a continue so that the rest of the config is
parsed correctly.

Sponsored by: Dell EMC Isilon
MCF after: 2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable