Fix intermediate overflow in op_pcm_total().
Although link enumeration ensures the return value is in range, the order of operations allows the intermediate value pcm_total+diff to overflow the range of a 64-bit int. Add parentheses to ensure this does not happen. Thanks to Felcia Lim for the report. Fixes #2330
Loading
Please register or sign in to comment