看板 DFBSD_commit 關於我們 聯絡資訊
commit 51a4bb9f7d116a7dda9cbe5ca9beef5918ab0376 Author: Sascha Wildner <saw@online.de> Date: Tue Apr 20 21:32:44 2010 +0300 dsched: Avoid integer overflow. Multiplication of two 32 bit values can overflow the 32 bit result. Cast one of the multiplicants to force 64 bit multiplication. This fixes a lockup due to an infinite loop in the following while(). In-collaboration-with: aggelos Summary of changes: sys/dsched/fq/dsched_fq_core.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/51a4bb9f7d116a7dda9cbe5ca9beef5918ab0376 -- DragonFly BSD source repository