Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 4811efe12fd1af9554718ae15996470a5c2ecd70
      
https://github.com/openssl/openssl/commit/4811efe12fd1af9554718ae15996470a5c2ecd70
  Author: Neil Horman <nhor...@openssl.org>
  Date:   2024-07-27 (Sat, 27 Jul 2024)

  Changed paths:
    M test/bio_enc_test.c

  Log Message:
  -----------
  fix Coverity 1604662

Coverity flagged an issue in our bio_enc tests in which we failed to
check the return code of BIO_read for an error condition which can lead
to our length computation going backwards.

Just check the error code before adding it to length

Fixes openssl/project#779

Reviewed-by: Paul Dale <ppz...@gmail.com>
Reviewed-by: Tom Cosgrove <tom.cosgr...@arm.com>
(Merged from https://github.com/openssl/openssl/pull/25006)



To unsubscribe from these emails, change your notification settings at 
https://github.com/openssl/openssl/settings/notifications

Reply via email to