mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-01 07:12:47 +03:00
4aa8462cc9
these were found while fuzzing zls. this patch prevents overflow for the following file contents and adds tests for them. * `enum(u32)` - causes overflow in std.zig.Ast.fullContainerDecl() * `*x` - causes overflow in std.zig.Ast.fullPtrType() * `**x` - causes overflow in std.zig.Ast.firstToken()