Skip to content

Various unchecked error conditions in ext/openssl #18988

Open
@nielsdos

Description

@nielsdos

Description

Checked with my static analyzer, it reports various missing checks on the following calls:

  • OBJ_create_objects
  • Various calls to BIO_write
  • sk_X509_push
  • NCONF_get_number (through NCONF_get_number_e)
  • X509_set_subject_name
  • SSL_copy_session_id
  • OPENSSL_init_ssl
  • PHP_OPENSSL_ASN1_INTEGER_set
  • SSL_CTX_set_alpn_protos
  • php_openssl_handle_ssl_error

PHP Version

8.3+

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions