On Tue, Nov 29, 2011 at 03:53:50PM -0800, Han Shen(沈涵) wrote: > Hi, I propose to add to gcc a new option regarding stack protector - > "-fstack-protector-strong", in addition to current gcc's > "-fstack-protector-all", which protects ALL functions, and > "-fstack-protector", which protects functions that have a big > (signed/unsigned) char array or have alloca called.
Isn't -fstack-protector --param ssp-buffer-size=4 (or =2) enough for you? Jakub