@@ -3284,16 +3284,16 @@ check_cpe_match_rule (long long int node, gboolean *match, gboolean *vulnerable,
3284
3284
while (next (& cpe_match_ranges ))
3285
3285
{
3286
3286
iterator_t cpe_host_details_products ;
3287
- gchar * range_fs_cpe ;
3287
+ gchar * range_uri_cpe ;
3288
3288
gchar * range_uri_product ;
3289
3289
gchar * vsi , * vse , * vei , * vee ;
3290
- range_fs_cpe = vsi = vse = vei = vee = NULL ;
3291
- range_fs_cpe = g_strdup (cpe_match_string_iterator_criteria (& cpe_match_ranges ));
3290
+ range_uri_cpe = vsi = vse = vei = vee = NULL ;
3291
+ range_uri_cpe = g_strdup (cpe_match_string_iterator_criteria (& cpe_match_ranges ));
3292
3292
vsi = g_strdup (cpe_match_string_iterator_version_start_incl (& cpe_match_ranges ));
3293
3293
vse = g_strdup (cpe_match_string_iterator_version_start_excl (& cpe_match_ranges ));
3294
3294
vei = g_strdup (cpe_match_string_iterator_version_end_incl (& cpe_match_ranges ));
3295
3295
vee = g_strdup (cpe_match_string_iterator_version_end_excl (& cpe_match_ranges ));
3296
- range_uri_product = fs_cpe_to_uri_product ( range_fs_cpe );
3296
+ range_uri_product = uri_cpe_to_uri_product ( range_uri_cpe );
3297
3297
init_host_details_cpe_product_iterator (& cpe_host_details_products , range_uri_product , report_host );
3298
3298
while (next (& cpe_host_details_products ))
3299
3299
{
@@ -3303,7 +3303,7 @@ check_cpe_match_rule (long long int node, gboolean *match, gboolean *vulnerable,
3303
3303
host_details_cpe = host_details_cpe_product_iterator_value (& cpe_host_details_products );
3304
3304
cpe_struct_init (& source );
3305
3305
cpe_struct_init (& target );
3306
- fs_cpe_to_cpe_struct ( range_fs_cpe , & source );
3306
+ uri_cpe_to_cpe_struct ( range_uri_cpe , & source );
3307
3307
uri_cpe_to_cpe_struct (host_details_cpe , & target );
3308
3308
matches = cpe_struct_match (& source , & target );
3309
3309
if (matches )
@@ -3321,15 +3321,15 @@ check_cpe_match_rule (long long int node, gboolean *match, gboolean *vulnerable,
3321
3321
cpe_struct_t source , target ;
3322
3322
cpe_struct_init (& source );
3323
3323
cpe_struct_init (& target );
3324
- fs_cpe_to_cpe_struct ( range_fs_cpe , & source );
3324
+ uri_cpe_to_cpe_struct ( range_uri_cpe , & source );
3325
3325
uri_cpe_to_cpe_struct (host_cpe , & target );
3326
3326
if (cpe_struct_match (& source , & target ))
3327
3327
* vulnerable = TRUE;
3328
3328
cpe_struct_free (& source );
3329
3329
cpe_struct_free (& target );
3330
3330
}
3331
3331
g_free (range_uri_product );
3332
- g_free (range_fs_cpe );
3332
+ g_free (range_uri_cpe );
3333
3333
g_free (vsi );
3334
3334
g_free (vse );
3335
3335
g_free (vei );
@@ -3375,7 +3375,7 @@ cve_scan_report_host_json (task_t task,
3375
3375
double severity ;
3376
3376
3377
3377
host_cpe = host_details_cpe_iterator_cpe (& host_details_cpe );
3378
- cpe_product = uri_cpe_to_fs_product (host_cpe );
3378
+ cpe_product = uri_cpe_to_uri_product (host_cpe );
3379
3379
init_cpe_match_nodes_iterator (& cpe_match_root_node , cpe_product );
3380
3380
while (next (& cpe_match_root_node ))
3381
3381
{
0 commit comments