Open maska989 opened 1 year ago
https://github.com/phoenix-rtos/phoenix-rtos-tests/blob/c13ef424dff7c1f0f88f02e4a67104f6d9ed5d22/libc/stdio_scanf.c#L4298 https://github.com/phoenix-rtos/phoenix-rtos-tests/blob/c13ef424dff7c1f0f88f02e4a67104f6d9ed5d22/libc/stdio_scanf.c#L4362 https://github.com/phoenix-rtos/phoenix-rtos-tests/blob/c13ef424dff7c1f0f88f02e4a67104f6d9ed5d22/libc/stdio_scanf.c#L4455
*Problem occurs when %m is used with other conversion specifiers
Tested between ia32-generic and host-generic
int main(void) { char *str; sscanf("abc", "%ms", &str); printf("\n%s\n", str);
}