Page MenuHomeFreeBSD

MAC/do: parse_rule_element(): Bug in parsing the origin ID
AcceptedPublic

Authored by olce on Fri, Nov 15, 5:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 26, 10:12 PM
Unknown Object (File)
Tue, Nov 26, 10:12 PM
Unknown Object (File)
Tue, Nov 26, 9:17 PM
Unknown Object (File)
Fri, Nov 22, 4:46 PM
Unknown Object (File)
Mon, Nov 18, 8:28 PM
Unknown Object (File)
Mon, Nov 18, 7:47 PM
Unknown Object (File)
Mon, Nov 18, 3:44 PM

Details

Reviewers
bapt
Summary

This revision is part of a series. Click on the Stack tab below to see the context.
This series has also been squeezed into D47633 to provide an overall view.

Commit message:
The ID field was allowed to be empty, which would be then parsed as 0 by
strtol(). There remains bugs in this function, where parsing for from-
or to- IDs accepts spaces and produces 0, but this will conveniently be
fixed in a later commit introducing strtoui_strict().

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60603
Build 57487: arc lint + arc unit