summaryrefslogtreecommitdiff
path: root/hplip-hpcups-crash.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 02:45:17 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 02:45:17 +0000
commit92ff4cdf8c84e91584dd6076aa5b3c774ab0a622 (patch)
tree6ba01d84d85f00b380477077d920c341c3570b09 /hplip-hpcups-crash.patch
parentd8ce4006ffe8011c16c265205aa330c52a0de0c1 (diff)
automatic import of hplipopeneuler24.03_LTS
Diffstat (limited to 'hplip-hpcups-crash.patch')
-rw-r--r--hplip-hpcups-crash.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/hplip-hpcups-crash.patch b/hplip-hpcups-crash.patch
new file mode 100644
index 0000000..28f34f7
--- /dev/null
+++ b/hplip-hpcups-crash.patch
@@ -0,0 +1,13 @@
+diff --git a/prnt/hpcups/Compressor.cpp b/prnt/hpcups/Compressor.cpp
+index 7fbbcd0..a29955e 100644
+--- a/prnt/hpcups/Compressor.cpp
++++ b/prnt/hpcups/Compressor.cpp
+@@ -29,7 +29,7 @@
+ \*****************************************************************************/
+ #include "Compressor.h"
+
+-Compressor::Compressor (unsigned int RasterSize, bool useseed) : SeedRow(NULL), UseSeedRow(useseed), inputsize(RasterSize), seeded(false)
++Compressor::Compressor (unsigned int RasterSize, bool useseed) : SeedRow(NULL), compressBuf(NULL), UseSeedRow(useseed), inputsize(RasterSize), seeded(false)
+ {
+ constructor_error = NO_ERROR;
+ iRastersReady = 0;