Commit 1e1c55f
fix: V-002 security vulnerability
Initialize dfa_transitions = NULL before generate_transitions() so that
the cleanup check in regex_compile() is never reading an uninitialized
pointer when the overflow guard returns early.
Fixes -Werror=maybe-uninitialized on aarch64 GCC 13.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent ea5e749 commit 1e1c55f
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1876 | 1876 | | |
1877 | 1877 | | |
1878 | 1878 | | |
| 1879 | + | |
1879 | 1880 | | |
1880 | 1881 | | |
1881 | 1882 | | |
| |||
0 commit comments