GPUOpen-LibrariesAndSDKs/Cauldron

UploadHeap::Suballocate assert(uSize...) will not fire at heap over size allocation...

Closed this issue · 3 comments

I catch this one, here:

assert(uSize < (size_t)(m_pDataBegin - m_pDataEnd));

It should be reversed, i.e.: assert(uSize < (size_t)(m_pDataEnd - m_pDataBegin));
Perhaps, additional - similar assert for AlignUp() case also...

@rys Could you please take a look on this?

rys commented

Yep, we'll fix for the next release. Thanks again!

Perfect! So, I will leave this "Open" for now.