Jie Zhang wrote:
Hi,In gcc.c-torture/execute/builtins/lib/chk.c, vsnprintf () is defined using vsprintf (). While vsnprintf () in uClibc is defined using
^^^^^^^^^ Sorry, should be vsprintf
vsnprintf (). When testing on uClinux with uClibc, pr23484-chk.c failed because these two functions will call each other recursively and finally overflow the stack. How can this problem be fixed, In the test case or in uClibc?
Jie