skia2/include
scroggo@google.com e490420efc Ensure that SkMemoryStream does not crash dereferencing fData.
SkMemoryStream attempts to dereference fData in multiple places.
Instead of allowing it to be NULL, resulting in a crash, set it
to SkData::NewEmpty().

Add a test for SkStream that will crash when its SkData is set to NULL.

Review URL: https://codereview.appspot.com/7061059

git-svn-id: http://skia.googlecode.com/svn/trunk@7111 2bbb7eff-a529-9590-31e7-b0007b416f81
2013-01-09 22:02:58 +00:00
..
animator Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
config Disabling validation of the glyph cache for standard debug builds. 2012-11-30 16:19:32 +00:00
core Ensure that SkMemoryStream does not crash dereferencing fData. 2013-01-09 22:02:58 +00:00
device/xps Formatting cleanup: remove extra whitespace 2012-01-28 01:45:11 +00:00
effects fix warnings related to constness in overrides of SkColorFilter 2012-12-24 14:38:46 +00:00
gpu This CL introduces a new path renderer. 2013-01-07 14:26:40 +00:00
images kill unused SkFlipPixelRef 2012-12-13 16:35:37 +00:00
pdf remove use of SkRefPtr in public header (SkPDFDocument.h) 2012-09-20 18:19:26 +00:00
pipe Adding a silent playback option to SkGPipeRead 2012-09-20 19:35:43 +00:00
ports Disable automatic font fallback of SkFontHost_android when building for WebKit 2012-10-09 19:26:59 +00:00
svg Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
text Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00
utils revert 6766, thereby re-landing 6762-6763 now that the bots are ready 2012-12-12 20:48:18 +00:00
views fix iOS build after adding modifierKeys to click events 2013-01-09 16:36:30 +00:00
xml Result of running tools/sanitize_source_files.py (which was added in https://codereview.appspot.com/6465078/) 2012-08-23 18:09:54 +00:00