jvoisin / fortify-headers

Standalone portable header-based implementation of FORTIFY_SOURCE=3
BSD Zero Clause License
19 stars 3 forks source link

Fix str(r)chr hardening #41

Open q66 opened 11 months ago

q66 commented 11 months ago

I disabled it for now, but the str(r)chr hardening is currently UB and it crashes several parts of the Python test suite. I don't know if the NULL subtraction is the sole part, but it's the only I can think of right now.