View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014008 | VTK | (No Category) | public | 2013-04-12 11:06 | 2014-10-02 10:07 | ||||
Reporter | Gert Wollny | ||||||||
Assigned To | Berk Geveci | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | won't fix | ||||||
Platform | OS | OS Version | |||||||
Product Version | 5.10.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014008: vtkmetaio - compress/uncompress doesn't handle the last bytes properly when compress overflows. | ||||||||
Description | MET_PerformCompression doesn't handle it properly when the compression output is larger then the input. A test case is attached that compresses and uncompressed N bytes (N \in [1,300]) and checks the result. On one hand it uses a constant value for all N bytes, here N=1...4 fail. On the other hand the array is filled according to a[i] = char(i). Here all cases (N < 273) fail, i.e. the last output bytes are not correct. In all failed cases the "compressed" output was larger than the input. I think this indicates that the output buffer overflow during compression is not handled correctly. The attached test program writes out all failing comparisons. If an abitrary additional command line parameter is given, also some info about the successful test is written out. The according CMakeLists.txt is given as comment in the C++ file. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | test_MET_Compression.cc [^] (3,829 bytes) 2013-04-12 11:06 | ||||||||
Relationships | |
Relationships |
Notes | |
(0033430) Berk Geveci (administrator) 2014-10-02 10:07 |
This is a MetaIO issue. I sent it to the MetaIO guys. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2013-04-12 11:06 | Gert Wollny | New Issue | |
2013-04-12 11:06 | Gert Wollny | File Added: test_MET_Compression.cc | |
2014-10-02 10:07 | Berk Geveci | Note Added: 0033430 | |
2014-10-02 10:07 | Berk Geveci | Status | backlog => closed |
2014-10-02 10:07 | Berk Geveci | Assigned To | => Berk Geveci |
2014-10-02 10:07 | Berk Geveci | Resolution | open => won't fix |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |