Skip to content
Commit c55436e3 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

luci-base: cbi.js: fix sfh() signedness bug for strings with 3 trailing bytes



Replace a sign-propagating right shift by a zero-filling right shift to avoid
calculating a wrong hash code in the three-trailing-bytes case.

Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 2babc47a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment