commit | bf7dfeea94f21dd0e097cf5f786f9995722fd70d | [log] [tgz] |
---|---|---|
author | Jesse Wilson <jwilson@squareup.com> | Sat Sep 01 01:01:05 2012 -0400 |
committer | Jesse Wilson <jwilson@squareup.com> | Sat Sep 01 01:01:05 2012 -0400 |
tree | 732772fe1b5cd965ebce5c6870dc044ae6e00244 | |
parent | 3e46814d8984243612176c9b15d8d012dcca2143 [diff] |
Fix a bug where the max blowup of annotations was incorrect. I'm not sure where the 1.34 number comes from but it's incorrect. From the spec, the encoded_annotation is made up of a single byte plus an unlimited number of uleb128 values. Each of these values can double in width in the worst case. I received (personal) email from one user who'd run into a case worse than the incorrect 1.34 limit. Change-Id: I3b676e6d2b274aaa538ca61ce23945b3d49aff04