aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/decode.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-04-14 13:27:36 -0400
committerAustin Clements <austin@google.com>2016-04-16 21:42:37 +0000
commit8ce844e88ed8c16bef7febea05b003b50bd0609e (patch)
tree4c07e0d006d2a8e2805ac37596710b2235bea156 /src/encoding/json/decode.go
parentd6b177d1eb7849375e246b97c58406aed7350c86 (diff)
downloadgo-8ce844e88ed8c16bef7febea05b003b50bd0609e.tar.xz
runtime: check kernel physical page size during init
The runtime hard-codes an assumed physical page size. If this is smaller than the kernel's page size or not a multiple of it, sysUnused may incorrectly release more memory to the system than intended. Add a runtime startup check that the runtime's assumed physical page is compatible with the kernel's physical page size. For #9993. Change-Id: Ida9d07f93c00ca9a95dd55fc59bf0d8a607f6728 Reviewed-on: https://go-review.googlesource.com/22064 Reviewed-by: Rick Hudson <rlh@golang.org>
Diffstat (limited to 'src/encoding/json/decode.go')
0 files changed, 0 insertions, 0 deletions