aboutsummaryrefslogtreecommitdiff
path: root/src/llvm_backend_expr.cpp
diff options
context:
space:
mode:
authorZoltán Kéri <z@zolk3ri.name>2024-12-24 02:20:32 +0100
committerZoltán Kéri <z@zolk3ri.name>2024-12-24 02:20:32 +0100
commitb9338777e34006b40b9315e795232e0608caa499 (patch)
tree625a820424a3309825f73fd9e7dabadec0c0247e /src/llvm_backend_expr.cpp
parent8c761627c84847bae3ec5e77a1408c542d9460b7 (diff)
encoding/base32: Fix buffer allocation and bounds checking
Fix buffer allocation size calculation and add proper bounds checking to ensure output buffer has sufficient space. This fixes crashes that could occur with inputs like "AA" and other edge cases where the output buffer was too small. Remove #no_bounds_check as proper bounds checking is necessary for safe error handling. The small performance trade-off is worth the improved robustness.
Diffstat (limited to 'src/llvm_backend_expr.cpp')
0 files changed, 0 insertions, 0 deletions