Skip to content

Fix wrong type for BlockThreshold Callback

type of threshold and excess are unsigned long long, but PyObject_CallMethod incorrectly set it to int.

if threshold or excess greater than 0x7FFFFFFF(max int), those variables will overflow.

Signed-off-by: Ren Lei ren.lei4@zte.com.cn

Merge request reports

Loading