summaryrefslogtreecommitdiff
path: root/libunwindstack/tests/MemoryFileTest.cpp
diff options
context:
space:
mode:
authorJeremy Compostella <jeremy.compostella@intel.com>2016-09-30 14:54:25 +0200
committerColin Cross <ccross@android.com>2016-10-06 09:53:42 -0700
commitfca594c2dee4972301d6301fbdc0b7b4ac0045fe (patch)
treec8ba92235c2f88b84af9958c2a7ee4f3701418f3 /libunwindstack/tests/MemoryFileTest.cpp
parentec991585803bbcbc9abb1ba9510836e770d6f459 (diff)
libsparse: output_file.c, fix large data chunk issue
CHUNK_HEADER structure type allows DATA chunk to be up to MAX_UINT large. The write() callback LEN parameter should be unsigned int. Also: - write() callback should continue to write data if less than expected data have been written. - gzerror() returns LEN on success, 0 otherwise Test: manual Change-Id: Id46d664b84c1a506f419524fe28055f784c2ae7a Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions