platform_system_core/libpackagelistparser
Elliott Hughes 6e774bae19 parse_line: allow -1 for apexes and sdk libraries.
Since we're in much worse trouble if `/data/system/packages.list` is
attacker-controlled, there doesn't seem like much benefit to having
the little bit of [incomplete] range checking we had on the uid
field (by using a wider type than `uid_t` actually is), and
apparently we're now abusing `-1` to mean "apex or sdk library",
despite `uid_t` being an unsigned type.

Bug: http://b/336659478
Change-Id: I7a270eea937d21fc1d7fcda8654054210cf631fe
2024-04-26 15:30:30 +00:00
..
include/packagelistparser parse_line: allow -1 for apexes and sdk libraries. 2024-04-26 15:30:30 +00:00
.clang-format Rewrite libpackagelistparser. 2019-08-08 13:53:20 -07:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
packagelistparser.cpp parse_line: allow -1 for apexes and sdk libraries. 2024-04-26 15:30:30 +00:00
packagelistparser_test.cpp Rewrite libpackagelistparser. 2019-08-08 13:53:20 -07:00
TEST_MAPPING Promote HWASan tests to presubmit. 2022-06-17 22:18:49 +00:00