```release-note:bug core: Fix multiple incorrect type conversion for potential overflows ```