Hi Salz,

I raised a PR for this change. Already got some comments from Kurt. Requesting 
you also to check and provide your suggestions on it.

Currently raised PR on only 1.0.2. Once its reviewed, I can raise on other 
branches (1.1.0 and Master).

Raja Ashok V K
Huawei Technologies
Bangalore, India

This e-mail and its attachments contain confidential information from HUAWEI, 
is intended only for the person or entity whose address is listed above. Any 
use of the 
information contained herein in any way (including, but not limited to, total 
or partial 
disclosure, reproduction, or dissemination) by persons other than the intended 
recipient(s) is prohibited. If you receive this e-mail in error, please notify 
the sender by 
phone or email immediately and delete it!

-----Original Message-----
From: openssl-dev [mailto:openssl-dev-boun...@openssl.org] On Behalf Of Salz, 
Rich via openssl-dev
Sent: 17 April 2017 22:02
To: openssl-dev@openssl.org
Subject: Re: [openssl-dev] Doubt about memory realloc logic in 
BUF_MEM_grow_clean and BUF_MEM_grow

>??????? memset(&str->data[str->length], 0, len - str->length);

The intent is to blank out everything from what was currently written.  This 
"covers up" possible pointer over-runs.

We could do just from the old max.
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to