hplip/hplip-hpcups-crash.patch

13 lines
559 B
Diff

diff -up hplip-3.11.7/prnt/hpcups/ModeJbig.cpp.hpcups-crash hplip-3.11.7/prnt/hpcups/ModeJbig.cpp
--- hplip-3.11.7/prnt/hpcups/ModeJbig.cpp.hpcups-crash 2011-09-02 16:04:58.118437727 +0100
+++ hplip-3.11.7/prnt/hpcups/ModeJbig.cpp 2011-09-02 16:06:27.625795462 +0100
@@ -99,6 +99,8 @@ const BYTE ModeJbig::szByte2[256] =
ModeJbig::ModeJbig (unsigned int RasterSize) : Compressor (RasterSize, false)
{
+ m_hHPLibHandle = 0;
+ m_pszInputRasterData = 0;
m_iWidth = ((RasterSize + 31) / 32) * 4;
m_iPlaneNumber = 0;
m_iCurrentPlane = 0;