Skip to content
Commit 701e6f76 authored by Joseph Huber's avatar Joseph Huber
Browse files

[libc][fix] Fix buffer overrun in initialization of GPU return value

Summary:
The HSA API explicitly states that the size is a count of uint32_t's not
a byte count. This was erroneously being used as a simple memcpy,
causing some weird behaviour. Fix this by correctly passing `1` to
initialize a single integer to zero.
parent 65642c73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment