[Privoxy-commits] [privoxy] 04/26: chunked_body_is_complete(): Always initialize 'length'

User Git git at git.privoxy.org
Sat Oct 10 09:01:30 CEST 2026


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 81fbde2a6c7cbc383ab031f0273fc9d628b66e1c
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Sep 20 17:03:58 2026 +0200

    chunked_body_is_complete(): Always initialize 'length'
    
    ... even in cases where callers aren't supposed to read it.
---
 jcc.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/jcc.c b/jcc.c
index 8a595001..383eff55 100644
--- a/jcc.c
+++ b/jcc.c
@@ -1512,6 +1512,8 @@ static enum chunk_status chunked_body_is_complete(struct iob *iob, size_t *lengt
    unsigned int chunksize;
    char *p = iob->cur;
 
+   *length = 0;
+
    do
    {
       /*

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list