1
mirror of https://github.com/rclone/rclone synced 2024-12-01 10:31:57 +01:00
rclone/backend/onedrive/quickxorhash
Nick Craig-Wood 451f4c2a8f onedrive: fix quickxorhash on 32 bit architectures
Before this fix quickxorhash would sometimes crash with an error like
this:

    panic: runtime error: slice bounds out of range [-1248:]

This was caused by an incorrect cast of a 64 bit number to a 32 bit
one on 32 bit platforms.

See: https://forum.rclone.org/t/panic-runtime-error-slice-bounds-out-of-range/37548
2023-04-13 15:14:46 +01:00
..
quickxorhash_test.go onedrive: improve speed of quickxorhash 2023-01-26 11:50:12 +00:00
quickxorhash.go onedrive: fix quickxorhash on 32 bit architectures 2023-04-13 15:14:46 +01:00
xor_1.20.go onedrive: improve speed of quickxorhash 2023-01-26 11:50:12 +00:00
xor.go onedrive: improve speed of quickxorhash 2023-01-26 11:50:12 +00:00