Skip to content

refTypeCheck invokes undefined behavior #23

@cmlsharp

Description

@cmlsharp

refTypeCheck in src/ref.c:257 invokes undefined behavior. It declares but does not initialize a pointer and then immediately checks whether it is NULL. Based on the resulting error message, this is likely a typo and the check should instead check the function's first argument for NULL.

Metadata

Metadata

Assignees

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