Replace custom vulnxml_dup_str by strndup
modified pkg/audit.c
@@ -470,16 +470,6 @@ vulnxml_end_element(void *data, const char *element)
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -496,10 +486,10 @@ vulnxml_handle_data(void *data, const char *content, int length)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -522,7 +512,7 @@ vulnxml_handle_data(void *data, const char *content, int length)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -531,11 +521,11 @@ vulnxml_handle_data(void *data, const char *content, int length)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|