user_data, db: improve how returned user data is handled
commitf0adcfda7ea87fe821b894c01ce00b3ea9f8f169
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 17 Jun 2013 14:03:02 +0000 (17 17:03 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 17 Jun 2013 14:03:02 +0000 (17 17:03 +0300)
treefa6835058f0b0e443f6fc4d7269a2b7cad24e6c4
parent1283419ad6f89e8586411c8afbc023d140b22ee3
user_data, db: improve how returned user data is handled

If we returned a pointer which held user data, that wasn't being tracked
correctly.  It didn't store the information properly and it didn't read
the stored information properly.  Now the we have the
return_state_to_var_sym() function then reading the information from the
database is easier.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_user_data.c
validation/sm_user_data2.c [new file with mode: 0644]