Skip to content

Commit e420c8c

Browse files
committed
---
yaml --- r: 222095 b: refs/heads/tmp c: 5f6a61e h: refs/heads/master i: 222093: c483205 222091: 75de5fe 222087: 6348103 222079: ddb5d08 v: v3
1 parent f1fcf92 commit e420c8c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2626
refs/heads/beta: 2b45108ecb944d63daba0f1b5529ac4c8afdc295
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28-
refs/heads/tmp: f910d27f87419e17cc59034265f6795db5247dfa
28+
refs/heads/tmp: 5f6a61e16524025a690ac5512669583145db94b1
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: e58601ab085591c71a27ae82137fc313222c2270
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828

branches/tmp/src/libcore/hash/sip.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,10 @@ impl SipHasher {
161161

162162
// Buffered tail is now flushed, process new input.
163163
let len = length - needed;
164-
let end = len & (!0x7);
165164
let left = len & 0x7;
166165

167166
let mut i = needed;
168-
while i < end {
167+
while i < len - left {
169168
let mi = unsafe { load_u64_le(msg, i) };
170169

171170
self.v3 ^= mi;

0 commit comments

Comments
 (0)