{"push_id":3065130139,"size":1,"distinct_size":1,"ref":"refs/heads/usb-sam-coverity","head":"049492154c98f3afb1843d9616635f0b453ea4ea","before":"d72277a6bee418f0e93ac914f1ce61ee1880f156","commits":[{"sha":"049492154c98f3afb1843d9616635f0b453ea4ea","author":{"name":"Aurelien Jarno","email":"bceb368e7f2cb351af47298f32034f0587bbe4a6@aurel32.net"},"message":"drivers: usb_dc_sam: kill a coverity warning\n\nCoverity complains that packet_len can get assigned a negative value if\nusb_dc_ep_mps() returns an error. This is correct, however it only\nhappens if the endpoint address is invalid, and in that case the value\nis not used as the endpoint address is also validated in\nusb_dc_ep_write().\n\nFix the issue by moving the assignment after the endpoint address\nvalidation and by accessing the value directly instead of getting it\nthrough usb_dc_ep_mps().\n\nFixes #11481\nCoverity-CID: 189742\n\nSigned-off-by: Aurelien Jarno <aurelien@aurel32.net>","distinct":true,"url":"https://api.github.com/repos/aurel32/zephyr/commits/049492154c98f3afb1843d9616635f0b453ea4ea"}]}
{"actor":{"display_login":"aurel32"}}