summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/RSSurfaceView.java
diff options
context:
space:
mode:
authorniko <niko@google.com>2009-07-20 13:10:01 -0700
committerniko <niko@google.com>2009-07-20 13:10:01 -0700
commitc39173be3237be9f39d2b57bb38249126e183c53 (patch)
treed154bd572a18c996385f0931b2128fceb7c226bc /graphics/java/android/renderscript/RSSurfaceView.java
parent0e9dd3b008536fe8a116eb6821ff84d34dba9f71 (diff)
Fixed a bug in the parser.
When we parse the metadata we check that there is enough data in the parcel by checking the byte availables and the size in the header. Since the size is in the header has been read, we should make sure than dataAvailable() >= size - 4 This bug was hidden by some test code which has been removed.
Diffstat (limited to 'graphics/java/android/renderscript/RSSurfaceView.java')
0 files changed, 0 insertions, 0 deletions