]> Cypherpunks repositories - gostls13.git/commit
liblink: check for symgrow size too large
authorIan Lance Taylor <iant@golang.org>
Tue, 21 Jan 2014 14:12:54 +0000 (06:12 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 21 Jan 2014 14:12:54 +0000 (06:12 -0800)
commit6111dc4e71ffd843ac8029df4fd67d32689f8e36
treec9dee14995ba8a7fcb9a4d711ef1814e707cc7f8
parentcb133c66073303b08e893d6b71faf98bda2402e9
liblink: check for symgrow size too large

Many calls to symgrow pass a vlong value.  Change the function
to not implicitly truncate, and to instead give an error if
the value is too large.

R=golang-codereviews, gobot, rsc
CC=golang-codereviews
https://golang.org/cl/54010043
include/link.h
src/liblink/data.c