[LTP] [PATCH 1/2] tools/sparse-ltp: Check all struct arrays in tst_test for ending {}
Petr Vorel
pvorel@suse.cz
Tue Mar 15 10:14:41 CET 2022
Hi Richie,
> Check for null termination on tst_test.save_restore and all the other
> struct arrays in tst_test. They are all null terminated.
> Also prevents a segfault when scalar NULL is used as the final entry
> and print a helpful error message instead.
thanks for this! LGTM.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
More information about the ltp
mailing list