summaryrefslogtreecommitdiffstats
path: root/libs/binder/BufferedTextOutput.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Prevent integer overflow when calculating buffer resizesChristopher Tate2015-06-081-1/+4
| | | | | | | | | | | Make sure that we don't go haywire if an exponential buffer growth operation winds up wrapping integer range. Along the way, fix a bookkeeping bug in BufferedTextOutput that would cause it to keep spuriously realloc()ing on every append(). Bug 20674694 Change-Id: Ia845b7de36b90672a151a918ffc26c7da68e20a2
* libutils clean-upMathias Agopian2013-05-071-0/+279
Change-Id: I6ff4cfc736751de2912c697f954e45e275f2d386