Files
craft-libs/crates/java-class
dotCooCoo acfb5fc329 java-class: bound the constant-pool text copied into names
Interfaces, field and method names and descriptors, signatures, constant
values, thrown and caught types, inner classes and annotation types each
copy their constant-pool text. Many entries can name one 65,535-byte Utf8,
so a class file under 100 KiB could make parse() copy gigabytes.

parse() now copies at most 64 MiB of such text per class. Past that,
names are kept as pool-index placeholders (<class#2>, <utf8#1>) and a
warning is added; every row is still listed.
2026-11-17 14:38:14 -08:00
..