list: Fix seg fault with list_for_each_entry_safe
[petitboot] / test / list /
drwxr-xr-x   ..
-rw-r--r-- 969 Makefile.am
-rw-r--r-- 1900 list-test.c