commit | a6646b3a3ddf31b98ada11b4064358f07cdaf3e8 | [log] [tgz] |
---|---|---|
author | Vijayavardhan Vennapusa <vvreddy@codeaurora.org> | Wed Oct 08 12:41:34 2014 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sat Nov 01 03:16:05 2014 -0700 |
tree | e213c4033f5176a8acd57fdbe29a85c4c47dfa73 | |
parent | 3ccc186e94c264be9c44e38c7105172a48b8be8f [diff] |
USB: gadget: f_rndis: Add check before queuing notification available There is a chance that rndis_response_available() and unbind() race each other due to which request's buffer might have freed and could cause accessing freed buffer pointer. Hence add check before accessing buffer pointer of USB request for interrupt endpoint. CRs-fixed: 731323 Change-Id: I2082e54cbdc28817651e75e8e8ed13d0ee61a6d5 Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>