Project

General

Profile

Actions

Bug #2582

closed

Dereference a null pointer

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

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

Description

There is below issues of null dereference describes as :
1).
File :lighttpd-1.4.35/src/mod_cgi.c
Issue :Dereferencing a null pointer
Issue Descritption :
Deferencing a null pointers ""s"" which is type of const char *s , if null return by
get_http_version_name(con->request.http_version); and
get_http_method_name(con->request.http_method);
when version name or method name not found.
Solution:
There should be check ""s"" for NULL return by get_http_version_name() and
get_http_method_name ()"

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


Files

lighttpd-mod_cgi-1.4.35.patch (1.1 KB) lighttpd-mod_cgi-1.4.35.patch pankaj.s01@samsung.com, 2014-07-07 12:32

Related issues 1 (0 open1 closed)

Is duplicate of Bug #2583: Dereference a null pointerFixed2014-07-072014-07-14Actions
Actions #1

Updated by gstrauss over 6 years ago

Please close this ticket. Looks like it was handled in https://redmine.lighttpd.net/issues/2583

Actions #2

Updated by stbuehler over 6 years ago

  • Related to Bug #2583: Dereference a null pointer added
Actions #3

Updated by stbuehler over 6 years ago

  • Related to deleted (Bug #2583: Dereference a null pointer)
Actions #4

Updated by stbuehler over 6 years ago

  • Is duplicate of Bug #2583: Dereference a null pointer added
Actions #5

Updated by stbuehler over 6 years ago

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

Also available in: Atom