no idea how to fix, at least document it.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2895 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
96cb7fa722
commit
8fa4891bde
@ -158,6 +158,7 @@ int main(int argc, char **argv)
|
||||
|
||||
scconf_list_add(&foo_list, "value3");
|
||||
|
||||
/* FIXME: this will segfault as foo_item is NULL */
|
||||
scconf_item_add(conf, foo_block, foo_item, SCCONF_ITEM_TYPE_COMMENT, NULL, "# comment1");
|
||||
scconf_item_add(conf, foo_block, foo_item, SCCONF_ITEM_TYPE_VALUE, "list1", foo_list);
|
||||
foo_block = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user