History log of /frameworks/native/libs/binder/BufferedTextOutput.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ed7a50cc7d490ae7aece2d16422c5f7941876468 08-Jun-2015 Christopher Tate <ctate@google.com> Prevent integer overflow when calculating buffer resizes

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
/frameworks/native/libs/binder/BufferedTextOutput.cpp
002e1e58dfe19dd3e49a59c6827cbf51573941a2 07-May-2013 Mathias Agopian <mathias@google.com> libutils clean-up

Change-Id: I6ff4cfc736751de2912c697f954e45e275f2d386
/frameworks/native/libs/binder/BufferedTextOutput.cpp