cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1394 memory Leak in smtp.c

From: Steve Holme <captain-caveman_at_users.sf.net>
Date: Tue, 08 Jul 2014 12:13:25 +0000

Hi,

Just a quick response as I'm at work but if mech is NULL then initresp will also be NULL - as it doesn't make sense for smtp_calc_sasl_details() to return no authentication mechanism but return an initial response.

If this is not the case then there is a bug in the smtp_calc_sasl_details() function.

I don't know what tool you are using to analyse the code but could it is getting confused with the invariant here?

Kind Regards

Steve

---
** [bugs:#1394] memory Leak in smtp.c**
**Status:** open
**Created:** Mon Jul 07, 2014 09:40 AM UTC by Jitendar Kumar
**Last Updated:** Tue Jul 08, 2014 11:22 AM UTC
**Owner:** Steve Holme
Some potential resource leaks found in lib/smtp.c . The attached patch fixes them. 
Thanks
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-07-08

These mail archives are generated by hypermail.

donate! Page updated March 21, 2014.
web site info

File upload with ASP.NET