Project

General

Profile

Actions

Bug #2457

closed

Memory leak in http_auth.c

Added by brarcher about 12 years ago. Updated about 11 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

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
Actions #1

Updated by stbuehler about 11 years ago

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

Applied in changeset r2904.

Actions

Also available in: Atom