We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee31677 commit 1dad033Copy full SHA for 1dad033
compiler-rt/lib/scudo/standalone/primary32.h
@@ -197,6 +197,7 @@ template <typename Config> class SizeClassAllocator32 {
197
return 0;
198
199
const u16 Count = B->getCount();
200
+ DCHECK_GT(Count, 0U);
201
B->moveToArray(ToArray);
202
203
if (ClassId != SizeClassMap::BatchClassId)
compiler-rt/lib/scudo/standalone/primary64.h
@@ -213,6 +213,7 @@ template <typename Config> class SizeClassAllocator64 {
213
214
215
216
217
218
219
0 commit comments