Skip to content
Snippets Groups Projects
Commit a48e7896 authored by Stan Schwertly's avatar Stan Schwertly Committed by Russ Cox
Browse files

encoding/binary: check for unsigned integers in intDataSize.

intDataSize ignores unsigned integers, forcing reads/writes to miss the fast path.

Fixes #8956

Change-Id: Ie79b565b037db3c469aa1dc6d0a8a5a9252d5f0a
Reviewed-on: https://go-review.googlesource.com/1777


Reviewed-by: default avatarRuss Cox <rsc@golang.org>
parent 1e93125a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment