>fscanf on an empty file returns directly without assigning value to >'index' leading to assigning the value of an uninitialized variable to >syscall_table_nb_entry. This can result in memory allocation problems >when listing syscalls on 'lttng list --kernel --syscall'[1][2]. > >Fixes #1091 > >[1] https://bugs.lttng.org/issues/1091 >[2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1671063/ > >Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
Thanks Jonathan. Tested-by: Colin Ian King <[email protected]> _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
