oneTBB icon indicating copy to clipboard operation
oneTBB copied to clipboard

LRU cache: Fix crash when my_number_of_lru_history_items == 0

Open HenryHeffanFormlabs opened this issue 4 years ago • 2 comments

it crashes because it tries to remove 1 item from an empty list.

HenryHeffanFormlabs avatar Jul 24 '20 18:07 HenryHeffanFormlabs

@HenryHeffanFormlabs could you please update the patch to target it to master branch ?

anton-potapov avatar Oct 05 '21 22:10 anton-potapov

@HenryHeffanFormlabs Please be so kind to add a unit test for this as well

anton-potapov avatar Oct 05 '21 22:10 anton-potapov

Close due to duplication with PR #939.

kboyarinov avatar Oct 19 '22 14:10 kboyarinov