You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this fix is needed in UHD_Init. I tracked down an overwrite in some memory I had allocated which was being stamped on by the loop below with the uint32 cast (because sizeof() returns # bytes and the uint32 casting counts up in 32-bit words). The replacement memset works fine.:
// ACA - memory overwrite!!
memset(usb_pipe_table,0,sizeof(usb_pipe_table));
/*
for (i = 0; i < sizeof(usb_pipe_table); i++)
{
(*(uint32_t *)(&usb_pipe_table[0] + i)) = 0;
}
*/
The text was updated successfully, but these errors were encountered:
I believe this fix is needed in UHD_Init. I tracked down an overwrite in some memory I had allocated which was being stamped on by the loop below with the uint32 cast (because sizeof() returns # bytes and the uint32 casting counts up in 32-bit words). The replacement memset works fine.:
The text was updated successfully, but these errors were encountered: