Project

General

Profile

Bug #2457

Memory leak in http_auth.c

Added by brarcher over 7 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
2012-11-13
Due date:
% Done:

100%

Estimated time:
Missing in 1.5.x:
Yes

Description

A password buffer is created at the top of the http_auth_basic_check() function, but it is not free'd in all paths out of the funtion. Namely, the first two returns in the function fail to free the buffer.

The attached patch corrects this issue.


Files

memory-leak-http-auth.patch (644 Bytes) memory-leak-http-auth.patch brarcher, 2012-11-13 14:21
#1

Updated by stbuehler over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset r2904.

Also available in: Atom