Skip to content

Inconsistent null checks #33

@b4yuan

Description

@b4yuan

symbol = scope_add_symbol(lemon,

lemon/lib/os.c

Line 369 in b1bb8a6

tmobject = lobject_create(lemon, sizeof(struct ltmobject), ltmobject_method);

symbol = scope_add_symbol(lemon, lemon->l_global, name, SYMBOL_GLOBAL);

frame = machine_peek_frame(lemon);

The functions called in these lines are consistently checked for null except in these instances. The lack of a null check could mask bugs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions