Test case: lib/libc/stdio/printf_test:snprintf_posarg_error
- Test program: /usr/tests/lib/libc/stdio/printf_test
- Result: expected_failure: some non-NetBSD platforms including FreeBSD don't validate negative size; testcase blows up with SIGSEGV
- Start time: 2018-05-25T18:21:43.189891Z
- End time: 2018-05-25T18:21:43.193668Z
- Duration: 0.004s
- Execution context
Metadata
- allowed_architectures =
- allowed_platforms =
- description = test for positional arguments out of bounds
- has_cleanup = false
- is_exclusive = false
- required_configs =
- required_disk_space = 0
- required_files =
- required_memory = 0
- required_programs =
- required_user =
- timeout = 300
Standard output
Test case did not write anything to stdout.
Standard error
Process with PID 42354 exited with signal 11 and dumped core; attempting to gather stack trace
(no debugging symbols found)...Core was generated by `/usr/tests/lib/libc/stdio/printf_test -vunprivileged-user=tests -r/tmp/kyua.3RY3'.
Program terminated with signal 11, Segmentation fault.
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...#0 0x0000000800afbf19 in realloc () from /lib/libc.so.7
#0 0x0000000800afbf19 in realloc () from /lib/libc.so.7
#1 0x0000000800afc5b1 in free () from /lib/libc.so.7
#2 0x0000000800b30b58 in vfprintf () from /lib/libc.so.7
#3 0x0000000800b2bb36 in vfprintf_l () from /lib/libc.so.7
#4 0x0000000800b903c5 in snprintf () from /lib/libc.so.7
#5 0x000000000040169f in ?? ()
#6 0x000000080082d68c in atf_tc_run () from /usr/lib/libprivateatf-c.so.1
#7 0x000000080082a023 in atf_tp_main () from /usr/lib/libprivateatf-c.so.1
#8 0x0000000000400dc5 in ?? ()
#9 0x0000000800625000 in ?? ()
#10 0x0000000000000000 in ?? ()
GDB exited successfully