Forward port test case that corrupts archives to see if they can crash an input stream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -79,6 +79,9 @@ public:
|
||||
bool IsSeekable() const { return (m_options & PipeIn) == 0; }
|
||||
void SetData(TestOutputStream& out);
|
||||
|
||||
void Chop(size_t size) { m_size = size; }
|
||||
char& operator [](size_t pos) { return m_data[pos]; }
|
||||
|
||||
private:
|
||||
wxFileOffset OnSysSeek(wxFileOffset pos, wxSeekMode mode);
|
||||
wxFileOffset OnSysTell() const;
|
||||
|
Reference in New Issue
Block a user