Project

General

Profile

Actions

Bug #2581

closed

Dereference a null pointer

Added by pankaj.s01@samsung.com over 10 years ago. Updated over 8 years ago.

Status:
Duplicate
Priority:
Normal
Category:
-
Target version:
-
ASK QUESTIONS IN Forums:

Description

There is below issues of null dereference describes as :

File :lighttpd-1.4.35/src/lemon.c
Issue :Dereference null return value
Descritption :
Deferencing null pointers "lem.symbols" and "lem.sorted" , if null return by Symbol_arrayof()
when malloc failed.

Solution:
There should be check "lem.symbols" and "lem.sorted" for NULL return by Symbol_arrayof()

Note : The Respective patch are attached herewith for your reference .


Files

lighttpd-lemon-patch-1.4.35.patch (838 Bytes) lighttpd-lemon-patch-1.4.35.patch pankaj.s01@samsung.com, 2014-07-07 12:25

Related issues 1 (0 open1 closed)

Is duplicate of Bug #2584: Patch for Resource leakFixedshashank1.m2014-07-07Actions
Actions #1

Updated by gstrauss over 8 years ago

Please consolidate this ticket into https://redmine.lighttpd.net/issues/2584

Actions #2

Updated by stbuehler over 8 years ago

  • Is duplicate of Bug #2584: Patch for Resource leak added
Actions #3

Updated by stbuehler over 8 years ago

  • Status changed from New to Duplicate
  • Target version deleted (1.4.x)
Actions

Also available in: Atom