Update parser code for multiple names support.
modified src/audit.c
@@ -227,6 +227,9 @@ audit_expand_entries(struct audit_entry *entry, struct audit_entry *head)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -277,7 +280,7 @@ vulnxml_start_element(void *data, const char *element, const char **attributes)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -298,23 +301,16 @@ vulnxml_start_element(void *data, const char *element, const char **attributes)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -352,11 +348,13 @@ vulnxml_end_element(void *data, const char *element)
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -402,7 +400,7 @@ vulnxml_handle_data(void *data, const char *content, int length)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -415,7 +413,7 @@ vulnxml_handle_data(void *data, const char *content, int length)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -434,13 +432,9 @@ vulnxml_handle_data(void *data, const char *content, int length)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -486,7 +480,6 @@ parse_db_vulnxml(const char *path, struct audit_entry **h)
|
|
|
|
|
|
| - | |
|
|
|
|
|