Bug 10750 - translator permits excessively-vararged call into runtime
Summary: translator permits excessively-vararged call into runtime
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: translator (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Josh Stone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-08 21:17 UTC by Frank Ch. Eigler
Modified: 2009-10-21 16:13 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2009-10-08 21:17:15 UTC
stap -e "probe begin { println($(seq -s, 10000)) }"   # breaks stuff

We should limit the arity of print* vararg calls into the runtime.
We should enforce -Wframe-larger-than=xxx into our CFLAGS, but see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41633
Comment 1 Josh Stone 2009-10-21 16:13:56 UTC
8f805d33 PR10750: Enforce a reasonable limit on # of varargs
730c3efc PR10750 cont'd: Build with -Wframe-larger-than=512