curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: 7.77.0: tests/server/sws overflows stack

From: David Chapman via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 10 Jun 2021 08:30:33 -0700

On 6/10/2021 8:15 AM, Daniel Stenberg via curl-library wrote:
> On Tue, 8 Jun 2021, Christian Weisgerber via curl-library wrote:
>
>> Maybe such oversized allocations should use malloc() instead of local
>> variables?  Here's a patch to this effect:
>
> Thanks! (proves we should have openbsd CI jobs...)
>
> Converted to a pull-request: https://github.com/curl/curl/pull/7235
>

Will this program ever go through valgrind or other memory-checking
tool?  If so, it now has a memory leak.  The patch doesn't free the
allocated memory.

-- 
     David Chapman      dcchapman_at_acm.org
     Chapman Consulting -- San Jose, CA
     EDA Software Developer, Expert Witness
     www.chapman-consulting-sj.com
     2018-2019 Chair, IEEE Consultants' Network of Silicon Valley
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2021-06-10