maskit opened a new issue, #10224:
URL: https://github.com/apache/trafficserver/issues/10224

   ```
    72EVP_PKEY *
    73async_load_privkey(ENGINE *e, const char *s_key_id, UI_METHOD *ui_method, 
void *callback_data)
    74{
    75  fprintf(stderr, "Loading key %s\n", s_key_id);
        1. returned_null: fopen returns NULL (checked 24 out of 30 times).
        2. var_assigned: Assigning: f = NULL return value from fopen.
    76  FILE *f       = fopen(s_key_id, "r");
    77  EVP_PKEY *key = PEM_read_PrivateKey(f, NULL, NULL, NULL);
        
   CID 1508984 (#1 of 1): Dereference null return value (NULL_RETURNS)
   3. dereference: Dereferencing a pointer that might be NULL f when calling 
fclose.
    78  fclose(f);
    79  return key;
    80}
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to