mirror of
https://github.com/morluto/rea.git
synced 2026-12-03 21:46:01 +00:00
Microsoft lib.exe archives, including import libraries, use the ar signature and keep long member names in the "//" table, but as NUL-terminated strings rather than GNU's "/\n"-terminated entries. The name table rejected every such reference, so members with names longer than 15 characters were dropped from the inventory and counted as undecodable, with unknown coverage. The name table now decides its convention once from its final byte: a table ending in NUL resolves entries that start at offset 0 or after a NUL and end at the next NUL. GNU tables keep their existing "/\n" rule, and the ar reader and Debian parser share the change. Fixes #15452 Co-authored-by: Anurag Singh <211784907+Anurag-5ingh@users.noreply.github.com>