llvm
9030b788 - [SYCL][UT] Fix heap-buffer-overflow in BuildLog mock (#22356)

Commit
37 days ago
[SYCL][UT] Fix heap-buffer-overflow in BuildLog mock (#22356) The mock reported a log size of 1 and wrote a single byte '1' — a lone char, not a string literal, so no null terminator. getProgramBuildLog then runs strlen on it, reading past the 1-byte allocation.
Author
Parents
Loading