Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
seahash
Commits
e50f1355
Commit
e50f1355
authored
Jun 14, 2020
by
Joonas Koivunen
Browse files
fix: missing ptr.offset from 9..=15 case
parent
eb008c0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream.rs
View file @
e50f1355
...
...
@@ -92,7 +92,7 @@ impl SeaHasher {
9
..=
15
=>
{
self
.push
(
helper
::
read_u64
(
ptr
));
excessive
-=
8
;
self
.tail
=
helper
::
read_int
(
slice
::
from_raw_parts
(
ptr
,
excessive
));
self
.tail
=
helper
::
read_int
(
slice
::
from_raw_parts
(
ptr
.offset
(
8
)
,
excessive
));
self
.ntail
=
excessive
;
},
16
=>
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment