text stringlengths 79 3.72M |
|---|
<vulnerable_code>#include "av_eps_aka.h"
OpenAPI_av_eps_aka_t *OpenAPI_av_eps_aka_create(
OpenAPI_hss_av_type_t *av_type,
char *rand,
char *xres,
char *autn,
return;
}
OpenAPI_lnode_t *node;
OpenAPI_hss_av_type_free(av_eps_aka->av_type);
ogs_free(av_eps_aka->rand);
ogs_free(... |
<vulnerable_code>#include "av_ims_gba_eap_aka.h"
OpenAPI_av_ims_gba_eap_aka_t *OpenAPI_av_ims_gba_eap_aka_create(
OpenAPI_hss_av_type_t *av_type,
char *rand,
char *xres,
char *autn,
return;
}
OpenAPI_lnode_t *node;
OpenAPI_hss_av_type_free(av_ims_gba_eap_aka->av_type);
ogs_free(... |
<vulnerable_code>
char* OpenAPI_cause_ToString(OpenAPI_cause_e cause)
{
const char *causeArray[] = { "NULL", "REL_DUE_TO_HO", "EPS_FALLBACK", "REL_DUE_TO_UP_SEC", "DNN_CONGESTION", "S_NSSAI_CONGESTION", "REL_DUE_TO_REACTIVATION", "_5G_AN_NOT_RESPONDING", "REL_DUE_TO_SLICE_NOT_AVAILABLE", "REL_DUE_TO_DUPLICATE_SESS... |
<vulnerable_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "cm_info_report.h"
OpenAPI_cm_info_report_t *OpenAPI_cm_info_report_create(
OpenAPI_list_t *old_cm_info_list,
OpenAPI_list_t *new_cm_info_list
)
{
OpenAPI_cm_info_report_t *cm_info_report_local_var = OpenAPI_malloc(si... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "collection_period_rmm_lte_mdt.h"
char* OpenAPI_collection_period_rmm_lte_mdt_ToString(OpenAPI_collection_period_rmm_lte_mdt_e colle... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "collection_period_rmm_nr_mdt.h"
char* OpenAPI_collection_period_rmm_nr_mdt_ToString(OpenAPI_collection_period_rmm_nr_mdt_e collecti... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "condition_event_type.h"
char* OpenAPI_condition_event_type_ToString(OpenAPI_condition_event_type_e condition_event_type)
{
cons... |
<vulnerable_code>#include <stdio.h>
#include "context_data_set_name.h"
OpenAPI_context_data_set_name_t *OpenAPI_context_data_set_name_create(
)
{
OpenAPI_context_data_set_name_t *context_data_set_name_local_var = OpenAPI_malloc(sizeof(OpenAPI_context_data_set_name_t));
if (!context_data_set_name_local_var)... |
<vulnerable_code> OpenAPI_smsf_registration_t *smsf3_gpp_access,
OpenAPI_smsf_registration_t *smsf_non3_gpp_access,
OpenAPI_list_t *subscription_data_subscriptions,
OpenAPI_list_t *smf_registrations
)
{
OpenAPI_context_data_sets_t *context_data_sets_local_var = OpenAPI_malloc(sizeof(OpenAPI_conte... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "context_info.h"
OpenAPI_context_info_t *OpenAPI_context_info_create(
OpenAPI_list_t *orig_headers
)
{
OpenAPI_context_i... |
<vulnerable_code>#include <stdio.h>
#include "data_set_name.h"
OpenAPI_data_set_name_t *OpenAPI_data_set_name_create(
)
{
OpenAPI_data_set_name_t *data_set_name_local_var = OpenAPI_malloc(sizeof(OpenAPI_data_set_name_t));
if (!data_set_name_local_var) {
return NULL;
}
return data_set_name_... |
<vulnerable_code> OpenAPI_list_free(datalink_reporting_configuration->ddd_traffic_des);
ogs_free(datalink_reporting_configuration->dnn);
OpenAPI_snssai_free(datalink_reporting_configuration->slice);
OpenAPI_list_for_each(datalink_reporting_configuration->ddd_status_list, node) {
OpenAPI_dl_data_d... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "ddn_failure_sub_info.h"
OpenAPI_ddn_failure_sub_info_t *OpenAPI_ddn_failure_sub_info_create(
char *notify_correlation_id,
O... |
<vulnerable_code>
OpenAPI_ddn_failure_subs_t *OpenAPI_ddn_failure_subs_create(
int ddn_failure_subs_ind,
OpenAPI_list_t *ddd_traffic_descriptor_list
)
{
OpenAPI_ddn_failure_subs_t *ddn_failure_subs_local_var = OpenAPI_malloc(sizeof(OpenAPI_ddn_failure_subs_t));
return NULL;
}
ddn_failure... |
<vulnerable_code> char *callback_uri,
OpenAPI_n1_message_class_e n1_message_class,
OpenAPI_n2_information_class_e n2_information_class,
OpenAPI_list_t *versions
)
{
OpenAPI_default_notification_subscription_t *default_notification_subscription_local_var = OpenAPI_malloc(sizeof(OpenAPI_default_not... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "default_unrelated_class.h"
OpenAPI_default_unrelated_class_t *OpenAPI_default_unrelated_class_create(
OpenAPI_list_t *allowed_g... |
<vulnerable_code> goto end;
}
if (!deregistration_data->access_type) {
ogs_error("OpenAPI_deregistration_data_convertToJSON() failed [access_type]");
goto end;
}
if (cJSON_AddStringToObject(item, "accessType", OpenAPI_access_type_ToString(deregistration_data->access_type)) == NUL... |
<vulnerable_code>#include <stdio.h>
#include "dl_data_delivery_status.h"
OpenAPI_dl_data_delivery_status_t *OpenAPI_dl_data_delivery_status_create(
)
{
OpenAPI_dl_data_delivery_status_t *dl_data_delivery_status_local_var = OpenAPI_malloc(sizeof(OpenAPI_dl_data_delivery_status_t));
if (!dl_data_delivery_sta... |
<vulnerable_code> OpenAPI_list_t *static_ip_address,
OpenAPI_up_security_t *up_security,
OpenAPI_pdu_session_continuity_ind_e pdu_session_continuity_ind,
int invoke_nef_selection,
char *nidd_nef_id,
OpenAPI_nidd_information_t *nidd_info,
int redundant_session_allowed,
OpenAPI_acs_info_t *... |
<vulnerable_code> int default_dnn_indicator,
int lbo_roaming_allowed,
int iwk_eps_ind,
int dnn_barred
)
{
OpenAPI_dnn_info_t *dnn_info_local_var = OpenAPI_malloc(sizeof(OpenAPI_dnn_info_t));
dnn_info_local_var->lbo_roaming_allowed = lbo_roaming_allowed;
dnn_info_local_var->iwk_eps_ind = i... |
<vulnerable_code> char *packet_err_rate,
int aver_window,
int max_data_burst_vol,
int ext_max_data_burst_vol
)
{
OpenAPI_dynamic5_qi_t *dynamic5_qi_local_var = OpenAPI_malloc(sizeof(OpenAPI_dynamic5_qi_t));
dynamic5_qi_local_var->aver_window = aver_window;
dynamic5_qi_local_var->max_data_... |
<vulnerable_code>OpenAPI_ec_restriction_t *OpenAPI_ec_restriction_create(
char *af_instance_id,
int reference_id,
OpenAPI_list_t *plmn_ec_infos
)
{
OpenAPI_ec_restriction_t *ec_restriction_local_var = OpenAPI_malloc(sizeof(OpenAPI_ec_restriction_t));
ec_restriction_local_var->af_instance_id = af... |
<vulnerable_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "ec_restriction_data.h"
OpenAPI_ec_restriction_data_t *OpenAPI_ec_restriction_data_create(
int ec_mode_a_restricted,
int ec_mode_b_restricted
)
{
OpenAPI_ec_restriction_data_t *ec_restriction_data_local_var = OpenAPI_... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "ec_restriction_data_wb.h"
OpenAPI_ec_restriction_data_wb_t *OpenAPI_ec_restriction_data_wb_create(
int ec_mode_a_restricted,
... |
<vulnerable_code> OpenAPI_list_t* monitoring_configurations,
OpenAPI_reporting_options_t *reporting_options,
char *supported_features,
char *subscription_id
)
{
OpenAPI_ee_subscription_t *ee_subscription_local_var = OpenAPI_malloc(sizeof(OpenAPI_ee_subscription_t));
ee_subscription_local_var-... |
<vulnerable_code>OpenAPI_emergency_info_t *OpenAPI_emergency_info_create(
char *pgw_fqdn,
OpenAPI_ip_address_t *pgw_ip_address,
char *smf_instance_id
)
{
OpenAPI_emergency_info_t *emergency_info_local_var = OpenAPI_malloc(sizeof(OpenAPI_emergency_info_t));
emergency_info_local_var->pgw_fqdn = pg... |
<vulnerable_code> OpenAPI_lnode_t *node;
OpenAPI_list_for_each(eps_interworking_info->eps_iwk_pgws, node) {
OpenAPI_map_t *localKeyValue = (OpenAPI_map_t*)node->data;
OpenAPI_object_free(localKeyValue->value);
ogs_free(localKeyValue);
}
OpenAPI_list_free(eps_interworking_info->eps... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "event_for_mdt.h"
char* OpenAPI_event_for_mdt_ToString(OpenAPI_event_for_mdt_e event_for_mdt)
{
const char *event_for_mdtArray[]... |
<vulnerable_code> OpenAPI_list_t *expected_umts,
OpenAPI_traffic_profile_rm_t *traffic_profile,
OpenAPI_battery_indication_rm_t *battery_indication,
char *validity_time
)
{
OpenAPI_expected_ue_behaviour_t *expected_ue_behaviour_local_var = OpenAPI_malloc(sizeof(OpenAPI_expected_ue_behaviour_t));
... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "ext_problem_details.h"
OpenAPI_ext_problem_details_t *OpenAPI_ext_problem_details_create(
char *type,
char *title,
int ... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "ext_snssai.h"
OpenAPI_ext_snssai_t *OpenAPI_ext_snssai_create(
int sst,
char *sd,
OpenAPI_list_t *sd_ranges,
int wi... |
<vulnerable_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "flow_direction_rm.h"
OpenAPI_flow_direction_rm_t *OpenAPI_flow_direction_rm_create(
)
{
OpenAPI_flow_direction_rm_t *flow_direction_rm_local_var = OpenAPI_malloc(sizeof(OpenAPI_flow_direction_rm_t));
if (!flow_direction_... |
<vulnerable_code> char *max_fbr_ul,
char *gua_fbr_dl,
char *gua_fbr_ul,
OpenAPI_notification_control_t *notif_control,
int max_packet_loss_rate_dl,
int max_packet_loss_rate_ul
)
{
OpenAPI_gbr_qos_flow_information_t *gbr_qos_flow_information_local_var = OpenAPI_malloc(sizeof(OpenAPI_gbr_qo... |
<vulnerable_code> char *n3_iwf_id,
OpenAPI_g_nb_id_t *g_nb_id,
char *nge_nb_id,
char *nid,
char *e_nb_id
)
global_ran_node_id_local_var->n3_iwf_id = n3_iwf_id;
global_ran_node_id_local_var->g_nb_id = g_nb_id;
global_ran_node_id_local_var->nge_nb_id = nge_nb_id;
global_ran_node_id_... |
<vulnerable_code>#include "guami.h"
OpenAPI_guami_t *OpenAPI_guami_create(
OpenAPI_plmn_id_t *plmn_id,
char *amf_id
)
{
return;
}
OpenAPI_lnode_t *node;
OpenAPI_plmn_id_free(guami->plmn_id);
ogs_free(guami->amf_id);
ogs_free(guami);
}
ogs_error("OpenAPI_guami_convertToJS... |
<vulnerable_code> OpenAPI_list_t *dnai_list,
char *supported_features,
OpenAPI_roaming_charging_profile_t *roaming_charging_profile,
OpenAPI_mo_exception_data_flag_t *mo_exp_data_ind,
OpenAPI_mo_exp_data_counter_t *mo_exp_data_counter,
OpenAPI_vplmn_qos_t *vplmn_qos
)
{
OpenAPI_hsmf_updat... |
<vulnerable_code> OpenAPI_list_t *dnai_list,
char *supported_features,
OpenAPI_roaming_charging_profile_t *roaming_charging_profile,
int ipv6_multi_homing_ind
)
{
hsmf_updated_data_local_var->dnai_list = dnai_list;
hsmf_updated_data_local_var->supported_features = supported_features;
hsmf... |
<vulnerable_code>#include <stdio.h>
#include "hss_auth_type.h"
OpenAPI_hss_auth_type_t *OpenAPI_hss_auth_type_create(
)
{
OpenAPI_hss_auth_type_t *hss_auth_type_local_var = OpenAPI_malloc(sizeof(OpenAPI_hss_auth_type_t));
if (!hss_auth_type_local_var) {
return NULL;
}
return hss_auth_type_... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "hss_auth_type_in_uri.h"
char* OpenAPI_hss_auth_type_in_uri_ToString(OpenAPI_hss_auth_type_in_uri_e hss_auth_type_in_uri)
{
cons... |
<vulnerable_code>
OpenAPI_hss_authentication_info_request_t *OpenAPI_hss_authentication_info_request_create(
char *supported_features,
OpenAPI_hss_auth_type_t *hss_auth_type,
int num_of_requested_vectors,
OpenAPI_plmn_id_t *serving_network_id,
OpenAPI_resynchronization_info_t *resynchronization_info... |
<vulnerable_code>#include <stdio.h>
#include "hss_av_type.h"
OpenAPI_hss_av_type_t *OpenAPI_hss_av_type_create(
)
{
OpenAPI_hss_av_type_t *hss_av_type_local_var = OpenAPI_malloc(sizeof(OpenAPI_hss_av_type_t));
if (!hss_av_type_local_var) {
return NULL;
}
return hss_av_type_local_var;
}
vo... |
<vulnerable_code>
OpenAPI_hss_info_t *OpenAPI_hss_info_create(
char *group_id,
OpenAPI_list_t *ims_ranges
)
{
OpenAPI_hss_info_t *hss_info_local_var = OpenAPI_malloc(sizeof(OpenAPI_hss_info_t));
return NULL;
}
hss_info_local_var->group_id = group_id;
hss_info_local_var->ims_ranges = ... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "inter_freq_target_info.h"
OpenAPI_inter_freq_target_info_t *OpenAPI_inter_freq_target_info_create(
int dl_carrier_freq,
Ope... |
<vulnerable_code>OpenAPI_ip_end_point_t *OpenAPI_ip_end_point_create(
char *ipv4_address,
char *ipv6_address,
OpenAPI_transport_protocol_t *transport,
int port
)
{
OpenAPI_lnode_t *node;
ogs_free(ip_end_point->ipv4_address);
ogs_free(ip_end_point->ipv6_address);
OpenAPI_transport_pro... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "ip_sm_gw_registration.h"
OpenAPI_ip_sm_gw_registration_t *OpenAPI_ip_sm_gw_registration_create(
char *ip_sm_gw_map_address,
... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "job_type.h"
char* OpenAPI_job_type_ToString(OpenAPI_job_type_e job_type)
{
const char *job_typeArray[] = { "NULL", "IMMEDIATE_... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "lcs_broadcast_assistance_types_data.h"
OpenAPI_lcs_broadcast_assistance_types_data_t *OpenAPI_lcs_broadcast_assistance_types_data_c... |
<vulnerable_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "lcs_client_non_external.h"
OpenAPI_lcs_client_non_external_t *OpenAPI_lcs_client_non_external_create(
char *lcs_client_id,
OpenAPI_list_t *allowed_geographic_area,
OpenAPI_privacy_check_related_action_e privacy_check_rel... |
<vulnerable_code>OpenAPI_lcs_privacy_t *OpenAPI_lcs_privacy_create(
char *af_instance_id,
int reference_id,
OpenAPI_lpi_t *lpi
)
{
OpenAPI_lcs_privacy_t *lcs_privacy_local_var = OpenAPI_malloc(sizeof(OpenAPI_lcs_privacy_t));
lcs_privacy_local_var->af_instance_id = af_instance_id;
lcs_privacy... |
<vulnerable_code>
OpenAPI_lcs_privacy_data_t *OpenAPI_lcs_privacy_data_create(
OpenAPI_lpi_t *lpi,
OpenAPI_list_t *unrelated_classes,
OpenAPI_list_t *plmn_operator_classes
)
{
return NULL;
}
lcs_privacy_data_local_var->lpi = lpi;
lcs_privacy_data_local_var->unrelated_classes = unrela... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "line_type.h"
char* OpenAPI_line_type_ToString(OpenAPI_line_type_e line_type)
{
const char *line_typeArray[] = { "NULL", "DSL",... |
<vulnerable_code> OpenAPI_list_free(lmf_info->serving_client_types);
ogs_free(lmf_info->lmf_id);
OpenAPI_list_free(lmf_info->serving_access_types);
OpenAPI_list_for_each(lmf_info->serving_an_node_types, node) {
OpenAPI_an_node_type_free(node->data);
}
OpenAPI_list_free(lmf_info->serving_a... |
<vulnerable_code> ogs_free(location_info->supi);
ogs_free(location_info->gpsi);
OpenAPI_list_for_each(location_info->registration_location_info_list, node) {
OpenAPI_object_free(node->data);
}
OpenAPI_list_free(location_info->registration_location_info_list);
ogs_free(location_info->suppo... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "logging_duration_mdt.h"
char* OpenAPI_logging_duration_mdt_ToString(OpenAPI_logging_duration_mdt_e logging_duration_mdt)
{
cons... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "logging_duration_nr_mdt.h"
char* OpenAPI_logging_duration_nr_mdt_ToString(OpenAPI_logging_duration_nr_mdt_e logging_duration_nr_mdt... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "logging_interval_mdt.h"
char* OpenAPI_logging_interval_mdt_ToString(OpenAPI_logging_interval_mdt_e logging_interval_mdt)
{
cons... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "logging_interval_nr_mdt.h"
char* OpenAPI_logging_interval_nr_mdt_ToString(OpenAPI_logging_interval_nr_mdt_e logging_interval_nr_mdt... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "loss_connectivity_cfg.h"
OpenAPI_loss_connectivity_cfg_t *OpenAPI_loss_connectivity_cfg_create(
int max_detection_time
)
{
... |
<vulnerable_code>#include "lte_v2x_auth.h"
OpenAPI_lte_v2x_auth_t *OpenAPI_lte_v2x_auth_create(
OpenAPI_ue_auth_t *vehicle_ue_auth,
OpenAPI_ue_auth_t *pedestrian_ue_auth
)
{
OpenAPI_lte_v2x_auth_t *lte_v2x_auth_local_var = OpenAPI_malloc(sizeof(OpenAPI_lte_v2x_auth_t));
return;
}
OpenAP... |
<vulnerable_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "maximum_latency.h"
OpenAPI_maximum_latency_t *OpenAPI_maximum_latency_create(
int maximum_latency,
OpenAPI_snssai_t *snssai,
char *dnn,
char *validity_time
)
{
OpenAPI_maximum_latency_t *maximum_latency_local... |
<vulnerable_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "maximum_response_time.h"
OpenAPI_maximum_response_time_t *OpenAPI_maximum_response_time_create(
int maximum_response_time,
OpenAPI_snssai_t *snssai,
char *dnn,
char *validity_time
)
{
OpenAPI_maximum_response... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "mbsfn_area.h"
OpenAPI_mbsfn_area_t *OpenAPI_mbsfn_area_create(
int mbsfn_area_id,
int carrier_frequency
)
{
OpenAPI... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "mdt_configuration.h"
OpenAPI_mdt_configuration_t *OpenAPI_mdt_configuration_create(
OpenAPI_job_type_e job_type,
OpenAPI_re... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "mdt_user_consent.h"
char* OpenAPI_mdt_user_consent_ToString(OpenAPI_mdt_user_consent_e mdt_user_consent)
{
const char *mdt_user... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "measurement_lte_for_mdt.h"
char* OpenAPI_measurement_lte_for_mdt_ToString(OpenAPI_measurement_lte_for_mdt_e measurement_lte_for_mdt... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "measurement_nr_for_mdt.h"
char* OpenAPI_measurement_nr_for_mdt_ToString(OpenAPI_measurement_nr_for_mdt_e measurement_nr_for_mdt)
{
... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "measurement_period_lte_mdt.h"
char* OpenAPI_measurement_period_lte_mdt_ToString(OpenAPI_measurement_period_lte_mdt_e measurement_pe... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "message_waiting_data.h"
OpenAPI_message_waiting_data_t *OpenAPI_message_waiting_data_create(
OpenAPI_list_t *mwd_list
)
{
... |
<vulnerable_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "mo_exception_data_flag.h"
OpenAPI_mo_exception_data_flag_t *OpenAPI_mo_exception_data_flag_create(
)
{
OpenAPI_mo_exception_data_flag_t *mo_exception_data_flag_local_var = OpenAPI_malloc(sizeof(OpenAPI_mo_exception_data_flag... |
<vulnerable_code> OpenAPI_list_t *members,
int reference_id,
char *af_instance_id,
char *internal_group_identifier
)
{
OpenAPI_model_5_g_vn_group_configuration_t *model_5_g_vn_group_configuration_local_var = OpenAPI_malloc(sizeof(OpenAPI_model_5_g_vn_group_configuration_t));
model_5_g_vn_grou... |
<vulnerable_code> char *dnn,
OpenAPI_snssai_t *s_nssai,
OpenAPI_list_t *pdu_session_types,
OpenAPI_list_t *app_descriptors
)
{
OpenAPI_model_5_g_vn_group_data_t *model_5_g_vn_group_data_local_var = OpenAPI_malloc(sizeof(OpenAPI_model_5_g_vn_group_data_t));
model_5_g_vn_group_data_local_var->s... |
<vulnerable_code> int immediate_flag,
OpenAPI_location_reporting_configuration_t *location_reporting_configuration,
OpenAPI_association_type_t *association_type,
OpenAPI_datalink_reporting_configuration_t *datalink_report_cfg
)
{
OpenAPI_monitoring_configuration_t *monitoring_configuration_local_... |
<vulnerable_code>
char* OpenAPI_n2_sm_info_type_ToString(OpenAPI_n2_sm_info_type_e n2_sm_info_type)
{
const char *n2_sm_info_typeArray[] = { "NULL", "PDU_RES_SETUP_REQ", "PDU_RES_SETUP_RSP", "PDU_RES_SETUP_FAIL", "PDU_RES_REL_CMD", "PDU_RES_REL_RSP", "PDU_RES_MOD_REQ", "PDU_RES_MOD_RSP", "PDU_RES_MOD_FAIL", "PDU_R... |
<vulnerable_code> char *ue_ipv4_addr,
char *ue_ipv6_addr,
int port_number,
char *ss_id,
char *bss_id,
char civic_address,
OpenAPI_hfc_node_id_t *hfc_node_id,
char gli
)
{
OpenAPI_n3ga_location_t *n3ga_location_local_var = OpenAPI_malloc(sizeof(OpenAPI_n3ga_location_t));
n3ga_l... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "nef_cond.h"
OpenAPI_nef_cond_t *OpenAPI_nef_cond_create(
OpenAPI_list_t *event_ids
)
{
OpenAPI_nef_cond_t *nef_cond_loc... |
<vulnerable_code>OpenAPI_nef_info_t *OpenAPI_nef_info_create(
char *nef_id,
OpenAPI_pfd_data_t *pfd_data,
OpenAPI_af_event_exposure_data_t *af_ee_data
)
{
OpenAPI_nef_info_t *nef_info_local_var = OpenAPI_malloc(sizeof(OpenAPI_nef_info_t));
nef_info_local_var->nef_id = nef_id;
nef_info_local_... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "nf_instance_id_list_cond.h"
OpenAPI_nf_instance_id_list_cond_t *OpenAPI_nf_instance_id_list_cond_create(
OpenAPI_list_t *nf_ins... |
<vulnerable_code> char *load_time_stamp,
char *locality,
OpenAPI_udr_info_t *udr_info,
OpenAPI_list_t *udr_info_ext,
OpenAPI_udm_info_t *udm_info,
OpenAPI_list_t *udm_info_ext,
OpenAPI_ausf_info_t *ausf_info,
OpenAPI_list_t *ausf_info_ext,
OpenAPI_amf_info_t *amf_info,
OpenAPI_lis... |
<vulnerable_code> OpenAPI_list_t *allowed_nf_types,
OpenAPI_list_t *allowed_nf_domains,
OpenAPI_list_t *allowed_nssais,
int priority,
int capacity,
int load,
nf_service_local_var->allowed_nf_types = allowed_nf_types;
nf_service_local_var->allowed_nf_domains = allowed_nf_domains;
nf_se... |
<vulnerable_code>
char* OpenAPI_nf_type_ToString(OpenAPI_nf_type_e nf_type)
{
const char *nf_typeArray[] = { "NULL", "NRF", "UDM", "AMF", "SMF", "AUSF", "NEF", "PCF", "SMSF", "NSSF", "UDR", "LMF", "GMLC", "5G_EIR", "SEPP", "UPF", "N3IWF", "AF", "UDSF", "BSF", "CHF", "NWDAF", "PCSCF", "CBCF", "HSS", "UCMF", "SOR_AF... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "node_type.h"
char* OpenAPI_node_type_ToString(OpenAPI_node_type_e node_type)
{
const char *node_typeArray[] = { "NULL", "AUSF"... |
<vulnerable_code> int priority_level,
int aver_window,
int max_data_burst_vol,
int ext_max_data_burst_vol
)
{
OpenAPI_non_dynamic5_qi_t *non_dynamic5_qi_local_var = OpenAPI_malloc(sizeof(OpenAPI_non_dynamic5_qi_t));
non_dynamic5_qi_local_var->aver_window = aver_window;
non_dynamic5_qi_loc... |
<vulnerable_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "non_external_unrelated_class.h"
OpenAPI_non_external_unrelated_class_t *OpenAPI_non_external_unrelated_class_create(
OpenAPI_list_t *lcs_client_non_externals,
OpenAPI_list_t *af_non_externals
)
{
OpenAPI_non_external... |
<vulnerable_code>#include <stdio.h>
#include "notification_control.h"
OpenAPI_notification_control_t *OpenAPI_notification_control_create(
)
{
OpenAPI_notification_control_t *notification_control_local_var = OpenAPI_malloc(sizeof(OpenAPI_notification_control_t));
if (!notification_control_local_var) {
... |
<vulnerable_code> OpenAPI_notification_event_type_e event,
char *nf_instance_uri,
OpenAPI_nf_profile_t *nf_profile,
OpenAPI_list_t *profile_changes
)
{
OpenAPI_notification_data_t *notification_data_local_var = OpenAPI_malloc(sizeof(OpenAPI_notification_data_t));
notification_data_local_var->... |
<vulnerable_code>
char* OpenAPI_notification_type_ToString(OpenAPI_notification_type_e notification_type)
{
const char *notification_typeArray[] = { "NULL", "N1_MESSAGES", "N2_INFORMATION", "LOCATION_NOTIFICATION", "DATA_REMOVAL_NOTIFICATION", "DATA_CHANGE_NOTIFICATION", "LOCATION_UPDATE_NOTIFICATION" };
size_... |
<vulnerable_code>#include "nr_v2x_auth.h"
OpenAPI_nr_v2x_auth_t *OpenAPI_nr_v2x_auth_create(
OpenAPI_ue_auth_t *vehicle_ue_auth,
OpenAPI_ue_auth_t *pedestrian_ue_auth
)
{
OpenAPI_nr_v2x_auth_t *nr_v2x_auth_local_var = OpenAPI_malloc(sizeof(OpenAPI_nr_v2x_auth_t));
return;
}
OpenAPI_lnod... |
<vulnerable_code>
OpenAPI_nrf_info_t *OpenAPI_nrf_info_create(
OpenAPI_list_t* served_udr_info,
OpenAPI_list_t* served_udm_info,
OpenAPI_list_t* served_ausf_info,
OpenAPI_list_t* served_amf_info,
OpenAPI_list_t* served_smf_info,
OpenAPI_list_t* served_upf_info,
OpenAPI_list_t* served_pcf_inf... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "nwdaf_cond.h"
OpenAPI_nwdaf_cond_t *OpenAPI_nwdaf_cond_create(
OpenAPI_list_t *analytics_ids
)
{
OpenAPI_nwdaf_cond_t *... |
<vulnerable_code>#include "odb_data.h"
OpenAPI_odb_data_t *OpenAPI_odb_data_create(
OpenAPI_roaming_odb_t *roaming_odb
)
{
OpenAPI_odb_data_t *odb_data_local_var = OpenAPI_malloc(sizeof(OpenAPI_odb_data_t));
return;
}
OpenAPI_lnode_t *node;
OpenAPI_roaming_odb_free(odb_data->roaming_odb... |
<vulnerable_code>#include <stdio.h>
#include "odb_packet_services.h"
OpenAPI_odb_packet_services_t *OpenAPI_odb_packet_services_create(
)
{
OpenAPI_odb_packet_services_t *odb_packet_services_local_var = OpenAPI_malloc(sizeof(OpenAPI_odb_packet_services_t));
if (!odb_packet_services_local_var) {
ret... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "options_response.h"
OpenAPI_options_response_t *OpenAPI_options_response_create(
char *supported_features
)
{
OpenAPI_o... |
<vulnerable_code>
OpenAPI_pcscf_info_t *OpenAPI_pcscf_info_create(
OpenAPI_list_t *access_type,
OpenAPI_list_t *dnn_list
)
{
OpenAPI_pcscf_info_t *pcscf_info_local_var = OpenAPI_malloc(sizeof(OpenAPI_pcscf_info_t));
}
pcscf_info_local_var->access_type = access_type;
pcscf_info_local_var->dnn... |
<vulnerable_code>OpenAPI_pdu_session_t *OpenAPI_pdu_session_create(
char *dnn,
char *smf_instance_id,
OpenAPI_plmn_id_t *plmn_id
)
{
OpenAPI_pdu_session_t *pdu_session_local_var = OpenAPI_malloc(sizeof(OpenAPI_pdu_session_t));
pdu_session_local_var->dnn = dnn;
pdu_session_local_var->smf_inst... |
<vulnerable_code> char *pei,
int pdu_session_id,
char *dnn,
OpenAPI_snssai_t *s_nssai,
char *vsmf_id,
char *ismf_id,
char *eps_bearer_ctx_status,
char *amf_nf_id,
OpenAPI_guami_t *guami,
int cp_ciot_enabled,
int cp_only_ind,
int invoke_nef,
OpenAPI_list_t *secondary_ra... |
<vulnerable_code> OpenAPI_list_t *eps_bearer_info,
char *supported_features,
OpenAPI_max_integrity_protected_data_rate_e max_integrity_protected_data_rate,
int always_on_granted,
char *gpsi,
OpenAPI_up_security_t *up_security,
int ipv6_multi_homing_ind,
int ma_accepted_ind,
char *home... |
<vulnerable_code><commit_title>[PATCH 1/7] mask mongo credentials when logging (#827)<commit_description><fixed_code>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "pdu_session_status_cfg.h"
OpenAPI_pdu_session_status_cfg_t *OpenAPI_pdu_session_status_cfg_create(
char *dnn
)
{
OpenAP... |
<vulnerable_code>OpenAPI_pgw_info_t *OpenAPI_pgw_info_create(
char *dnn,
char *pgw_fqdn,
OpenAPI_plmn_id_t *plmn_id
)
{
OpenAPI_pgw_info_t *pgw_info_local_var = OpenAPI_malloc(sizeof(OpenAPI_pgw_info_t));
pgw_info_local_var->dnn = dnn;
pgw_info_local_var->pgw_fqdn = pgw_fqdn;
pgw_info_lo... |
<vulnerable_code>
OpenAPI_plmn_ec_info_t *OpenAPI_plmn_ec_info_create(
OpenAPI_plmn_id_t *plmn_id,
int ec_mode_a_restricted,
int ec_mode_b_restricted
)
{
OpenAPI_plmn_ec_info_t *plmn_ec_info_local_var = OpenAPI_malloc(sizeof(OpenAPI_plmn_ec_info_t));
return NULL;
}
plmn_ec_info_local... |
<vulnerable_code> OpenAPI_lnode_t *node;
OpenAPI_plmn_id_free(plmn_snssai->plmn_id);
OpenAPI_list_for_each(plmn_snssai->s_nssai_list, node) {
OpenAPI_snssai_free(node->data);
}
OpenAPI_list_free(plmn_snssai->s_nssai_list);
ogs_free(plmn_snssai->nid);
OpenAPI_lnode_t *s_nssai_list_node... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.