Project

General

Profile

Actions

Bug #587

closed

Bug #557: segfault in 1.4beta1

make libhtp survive OOM conditions

Added by Victor Julien over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Currently some allocs are not checked in libhtp

Actions #1

Updated by Victor Julien over 11 years ago

  • Status changed from Assigned to Closed
  • Assignee changed from Anoop Saldanha to Victor Julien
  • % Done changed from 0 to 100

(most) issues seem fixed by:

commit a1a20cc50ab67939286b0df0e0d51d6c650f9456
Author: Victor Julien <victor@inliniac.net>
Date:   Thu Nov 1 15:17:50 2012 +0100

    libhtp: harden code against malloc failures. Bug #587.

commit 985cb9257343b277def6d561d0c0592e77abbce1
Author: Victor Julien <victor@inliniac.net>
Date:   Thu Nov 1 15:17:14 2012 +0100

    http: don't assume http tx to have header alloc'd. Can happen in OOM conditions. Bug #587.

Actions

Also available in: Atom PDF