Buffer overflow in ee_printf.c

57 views
Skip to first unread message

a.ko...@gmail.com

unread,
Jul 22, 2016, 11:36:27 AM7/22/16
to EEMBC CoreMark Public Group
Hi all,

I've noticed that when you are using debug output (defined CORE_DEBUG) and ee_printf routine, an overflow occures while initializing state machine test vector. Line 163 in core_state.c prints the full state input string (~620 bytes long) and the buffer in ee_printf routine is 256 bytes long (L.598 in ee_printf.c).
Please extend :)

Best Regards,
Artjoms Kosovs
Reply all
Reply to author
Forward
0 new messages