Task #91719 - fixed.err

back to task #91719
download
Error: GCC_ANALYZER_WARNING (CWE-404):
pkcs11-provider-1.0/src/provider.c:707:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
pkcs11-provider-1.0/src/provider.c:1096:14: enter_function: entry to ‘static_operations_init’
pkcs11-provider-1.0/src/provider.c:1109:5: call_function: calling ‘alg_set_op’ from ‘static_operations_init’
pkcs11-provider-1.0/src/provider.c:1109:5: return_function: returning to ‘static_operations_init’ from ‘alg_set_op’
pkcs11-provider-1.0/src/provider.c:1109:5: branch_true: following ‘true’ branch...
pkcs11-provider-1.0/src/provider.c:1109:5: branch_true: ...to here
pkcs11-provider-1.0/src/provider.c:1109:5: call_function: calling ‘p11prov_raise’ from ‘static_operations_init’
#  705|   
#  706|       va_start(args, fmt);
#  707|->     core_new_error(ctx->handle);
#  708|       core_set_error_debug(ctx->handle, file, line, func);
#  709|       core_vset_error(ctx->handle, errnum, fmt, args);

Error: GCC_ANALYZER_WARNING (CWE-404):
pkcs11-provider-1.0/src/provider.c:708:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
pkcs11-provider-1.0/src/provider.c:1096:14: enter_function: entry to ‘static_operations_init’
pkcs11-provider-1.0/src/provider.c:1109:5: call_function: calling ‘alg_set_op’ from ‘static_operations_init’
pkcs11-provider-1.0/src/provider.c:1109:5: return_function: returning to ‘static_operations_init’ from ‘alg_set_op’
pkcs11-provider-1.0/src/provider.c:1109:5: branch_true: following ‘true’ branch...
pkcs11-provider-1.0/src/provider.c:1109:5: branch_true: ...to here
pkcs11-provider-1.0/src/provider.c:1109:5: call_function: calling ‘p11prov_raise’ from ‘static_operations_init’
#  706|       va_start(args, fmt);
#  707|       core_new_error(ctx->handle);
#  708|->     core_set_error_debug(ctx->handle, file, line, func);
#  709|       core_vset_error(ctx->handle, errnum, fmt, args);
#  710|       va_end(args);

Error: GCC_ANALYZER_WARNING (CWE-404):
pkcs11-provider-1.0/src/provider.c:709:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
pkcs11-provider-1.0/src/provider.c:1096:14: enter_function: entry to ‘static_operations_init’
pkcs11-provider-1.0/src/provider.c:1109:5: call_function: calling ‘alg_set_op’ from ‘static_operations_init’
pkcs11-provider-1.0/src/provider.c:1109:5: return_function: returning to ‘static_operations_init’ from ‘alg_set_op’
pkcs11-provider-1.0/src/provider.c:1109:5: branch_true: following ‘true’ branch...
pkcs11-provider-1.0/src/provider.c:1109:5: branch_true: ...to here
pkcs11-provider-1.0/src/provider.c:1109:5: call_function: calling ‘p11prov_raise’ from ‘static_operations_init’
#  707|       core_new_error(ctx->handle);
#  708|       core_set_error_debug(ctx->handle, file, line, func);
#  709|->     core_vset_error(ctx->handle, errnum, fmt, args);
#  710|       va_end(args);
#  711|   }