[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem report #105
From: |
Dan Nicolaescu |
Subject: |
problem report #105 |
Date: |
Mon, 1 Dec 2008 09:06:15 -0800 (PST) |
CID: 105
Checker: NULL_RETURNS (help)
File: base/src/emacs/src/font.c
Function: register_font_driver
Description: Dereferencing NULL value "list"
Event returned_null: Function "malloc" returned NULL value (checked 29 out of
36 times)
Event var_assigned: Variable "list" assigned to NULL return value from "malloc"
Also see events: [var_assigned][dereference]
3426 list = malloc (sizeof (struct font_driver_list));
Event dereference: Dereferencing NULL value "list"
Also see events: [returned_null][var_assigned]
3427 list->on = 0;
3428 list->driver = driver;
3429 list->next = NULL;
- problem report #105,
Dan Nicolaescu <=