4
0
mirror of https://github.com/1f349/dendrite.git synced 2025-04-06 04:05:05 +01:00
Loïck Bonniot 940577cd3c
Fix integer overflow in device_list_update.go ()
Fix 
On 32-bits systems, int(hash.Sum32()) can be negative.
This makes the computation of array indices using modulo invalid, crashing dendrite.
Signed-off-by: Loïck Bonniot <git@lesterpig.com>
2021-01-18 12:43:15 +00:00
..