Actions
Bug #7943
openlinux:usb:urb allocated memory with kzalloc
Status:
New
Priority:
High
Assignee:
-
Category:
Requirement specifications
Target version:
-
Start date:
02/02/2017
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
ldv_usb_alloc_urb should return memory initialized with zeroes.
Instead of arbitrary memory
/* NOTE Choose an arbitrary memory location. */ 32 void *arbitrary_memory = ldv_undef_ptr();
See example of false unsafe
http://ldvstore:8998/marks/unsafe/create/75882/
where usb_unanchor_urb should not do usb_put_urb, because urb->anchor should be zero
Usb_alloc_urb initializes urb with zeros and usb_anchor_urb was not called.
No data to display
Actions