From: Justin Erenkrantz Date: Fri, 1 Nov 2002 09:42:09 +0000 (+0000) Subject: I don't see how *len > wanted, but leave the check there. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=145cd2f51aadd8edc46b742dc46efabba4537300;p=thirdparty%2Fapache%2Fhttpd.git I don't see how *len > wanted, but leave the check there. Stick a comment in there as a 'Waldo was here' so that if I ever see this again, I realize that I've actually thought about it and didn't think > was necessary. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@97372 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_io.c b/ssl_engine_io.c index 3928b892dcd..7718671427a 100644 --- a/ssl_engine_io.c +++ b/ssl_engine_io.c @@ -655,7 +655,10 @@ static apr_status_t ssl_io_input_read(bio_filter_in_ctx_t *inctx, inctx->cbuf.value -= bytes; inctx->cbuf.length += bytes; return APR_SUCCESS; - } + } + /* This could probably be *len == wanted, but be safe from stray + * photons. + */ if (*len >= wanted) { return APR_SUCCESS; }