]> git.saurik.com Git - wxWidgets.git/commit - src/common/imagpng.cpp
check the return code of wxStream::Read() in wxImageHandler::DoCanRead()
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 18 May 2002 12:41:51 +0000 (12:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 18 May 2002 12:41:51 +0000 (12:41 +0000)
commit79fa23744b2c622ebe9ff89a3ee8c8ec8017ee3b
treea3ad5bc59feb476e8eee4736674e37f24e48eb65
parentbaaae89f09ece7ab8a17570ee535683b9d14aeda
check the return code of wxStream::Read() in wxImageHandler::DoCanRead()
and avoid reading uninitialized memory when it fails

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/gifdecod.cpp
src/common/imagbmp.cpp
src/common/image.cpp
src/common/imagiff.cpp
src/common/imagjpeg.cpp
src/common/imagpcx.cpp
src/common/imagpng.cpp
src/common/imagtiff.cpp
src/common/xpmdecod.cpp