Skip to content

Commit a92d12d

Browse files
committed
---
yaml --- r: 235905 b: refs/heads/stable c: 5f6a61e h: refs/heads/master i: 235903: 68595d7 v: v3
1 parent 204d0c7 commit a92d12d

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
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: f910d27f87419e17cc59034265f6795db5247dfa
32+
refs/heads/stable: 5f6a61e16524025a690ac5512669583145db94b1
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/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)