Preventing stack guard-page hopping
Preventing stack guard-page hopping
Posted Jun 20, 2017 14:50 UTC (Tue) by BenHutchings (subscriber, #37955)In reply to: Preventing stack guard-page hopping by Cyberax
Parent article: Preventing stack guard-page hopping
alloca() can't be implemented as a real function, so it's only "in" glibc in the sense that the definition is in a glibc header. Further, that definition just defers to the compiler's pseudo-function __builtin_alloca(). So even rebuilding against an updated glibc isn't enough to fix this. glibc has been updated to make its own use of alloca() safer, though.