diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-11-19 11:58:17 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-19 11:58:17 +0100 |
commit | c55436e36fa9553373f14898c0dd04bad6ee4715 (patch) | |
tree | e341c61631de638a4f34772b23777401cfbf95d3 /modules/luci-base/src | |
parent | 2babc47ae2562cc123ea9048197996a0e3a223b1 (diff) |
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: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/src')
0 files changed, 0 insertions, 0 deletions