Page MenuHomeFreeBSD

ctld: Remove dead code in UCL parsing of hex DSCP values
ClosedPublic

Authored by jhb on Apr 2 2025, 8:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 4:31 AM
Unknown Object (File)
Fri, Oct 3, 12:40 PM
Unknown Object (File)
Thu, Oct 2, 5:21 PM
Unknown Object (File)
Wed, Oct 1, 12:26 PM
Unknown Object (File)
Fri, Sep 26, 6:43 PM
Unknown Object (File)
Wed, Sep 17, 3:21 PM
Unknown Object (File)
Sep 8 2025, 12:05 PM
Unknown Object (File)
Sep 5 2025, 4:27 PM
Subscribers

Details

Summary

libucl treats strings starting with "0x" as an integer if they do
not contain invalid characters. The code also looks broken as it
only calls strtol if the string exactly matches "0x" without any
trailing characters.

Diff Detail

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