June 15, 2014
6:45 a.m.
enh wrote:
we'll fix this in Android (the first hunk in https://android-review.googlesource.com/#/c/94653/) but it would be nice if this were fixed upstream too so we don't have to diverge more than we already have.
Thanks for mentioning this. I installed the attached patch into the experimental repository on github. This should fix the problem you mentioned, along with a couple of other problems of the same ilk. This patch tries to things a bit so more-efficiently than what Android does, by calling malloc at most once per function. This patch assumes the buffer-overrun patch that I recently posted to the list.