OpenSSL CVS Repository
http://cvs.openssl.org/
____________________________________________________________
________________
Server: cvs.openssl.org Name: Ben
Laurie
Root: /v/openssl/cvs Email: ben openssl.org
Module: openssl Date:
05-Apr-2007 19:23:51
Branch: HEAD Handle:
2007040518235100
Modified files:
openssl/crypto/evp bio_md.c
Log:
Don't copy from a nonexistent next. Coverity ID 47.
Summary:
Revision Changes Path
1.16 +5 -2 openssl/crypto/evp/bio_md.c
____________________________________________________________
________________
patch -p0 <<' .'
Index: openssl/crypto/evp/bio_md.c
============================================================
================
$ cvs diff -u -r1.15 -r1.16 bio_md.c
--- openssl/crypto/evp/bio_md.c 8 Feb 2007 19:07:43
-0000 1.15
+++ openssl/crypto/evp/bio_md.c 5 Apr 2007 17:23:51
-0000 1.16
 -157,8 +157,11 
(unsigned int)ret);
}
}
- BIO_clear_retry_flags(b);
- BIO_copy_next_retry(b);
+ if(b->next_bio != NULL)
+ {
+ BIO_clear_retry_flags(b);
+ BIO_copy_next_retry(b);
+ }
return(ret);
}
 .
____________________________________________________________
__________
OpenSSL Project http://www.openssl.org
CVS Repository Commit List
openssl-cvs openssl.org
Automated List Manager
majordomo openssl.org
|