Project

General

Profile

Bug #2457

Memory leak in http_auth.c

Added by brarcher almost 7 years ago. Updated about 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.

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

Associated revisions

Revision 2904 (diff)
Added by stbuehler about 6 years ago

fix memleak in mod_auth (fixes #2457, thx brarcher)

From: Stefan B├╝hler <>

History

#1

Updated by stbuehler about 6 years ago

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

Applied in changeset r2904.

Also available in: Atom