Descriptionbytes.Buffer: restore panic on out-of-memory
Make the panic detectable, and use that in ioutil.ReadFile to
give an error if the file is too big.
Patch Set 1 #Patch Set 2 : diff -r d5b106da84c9 https://code.google.com/p/go/ #
Total comments: 3
Patch Set 3 : diff -r f8a0481e130a https://code.google.com/p/go/ #
Total comments: 3
MessagesTotal messages: 10
|
|||||||||||||||||||||||||||||||||||||