1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00
David Woodhouse 60b19630b0 ntlm_wb: Fix theoretical memory leak
Static analysis indicated that my commit 9008f3d564 ("ntlm_wb: Fix
hard-coded limit on NTLM auth packet size") introduced a potential
memory leak on an error path, because we forget to free the buffer
before returning an error.

Fix this.

Although actually, it never happens in practice because we never *get*
here with state == NTLMSTATE_TYPE1. The state is always zero. That
might want cleaning up in a separate patch.

Reported-by: Terri Oda
2015-07-16 14:22:45 -04:00
..
2015-07-14 01:25:36 -04:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2013-02-14 10:41:45 +01:00
2015-03-03 23:17:43 +01:00
2015-03-17 13:57:37 +01:00
2014-10-08 12:25:07 +02:00
2015-03-03 23:17:43 +01:00
2015-03-03 12:36:18 +01:00
2015-03-16 15:01:15 +01:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2014-12-16 13:52:06 +01:00
2015-03-16 15:01:15 +01:00
2015-03-03 12:36:18 +01:00
2015-03-17 13:57:37 +01:00
2010-03-24 11:02:54 +01:00
2011-04-16 00:11:43 +02:00
2015-05-12 23:21:33 +02:00
2015-03-17 13:57:37 +01:00
2014-12-20 14:43:02 +00:00
2015-03-03 12:36:18 +01:00
2015-03-03 12:36:18 +01:00
2015-03-17 13:57:37 +01:00
2014-10-13 16:33:47 +02:00
2015-07-14 01:25:36 -04:00
2015-05-22 16:26:14 +02:00
2014-12-30 13:10:30 +00:00
2015-03-16 15:01:15 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2015-03-17 13:57:37 +01:00
2013-02-14 10:41:45 +01:00
2013-02-14 10:41:45 +01:00
2015-06-24 23:44:42 +02:00
2015-06-24 23:44:42 +02:00
2015-03-03 12:36:18 +01:00
2013-02-01 08:14:46 +01:00