-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Area: USBArea: Universal Serial BusArea: Universal Serial BusArea: driversArea: Device driversArea: Device driversType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
-
sys/pipe/pipe_dynamic.c
If malloc returns NULL on line 41, the variable m_pipe will be NULL, but the pointer to m_pipe->pipe is returned on line 46. -
drivers/usbdev_mock/usbdev_mock.c
The variable res is checked on line 88 which indicates that it can be NULL, but the pointer to res->ep is returned on line 97.
Metadata
Metadata
Assignees
Labels
Area: USBArea: Universal Serial BusArea: Universal Serial BusArea: driversArea: Device driversArea: Device driversType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)