cupsfilter utility segmentation fault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cups
cups version is 1.4.1-5ubuntu2.1
The command like `$cupsfilter -j 1` cause Segmentation Fault
Your patch dynamic-
static const char* cupsdDefaultRIP
It must return static char * value but it has not `return` at all.
Patch to fix this bug:
diff -uNrp cups-1.
--- cups-1.
+++ cups-1.
@@ -1219,6 +1219,8 @@ cupsdDefaultRIP
}
}
}
+
+ return size;
}
/*
This patch must be applied after all dpatch patches.
ProblemType: Bug
Architecture: amd64
Date: Thu Nov 19 21:23:11 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Lpstat: device for local: socket://localhost
MachineType: Dell Inc. XPS M1330
NonfreeKernelMo
Package: cups 1.4.1-5ubuntu2.1
Papersize: a4
PpdFiles: local: HP 2500CM Foomatic/Postscript (recommended)
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANG=ru_RU.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: cups
Uname: Linux 2.6.31-15-generic x86_64
XsessionErrors:
(gnome-
(gnome-
dmi.bios.date: 12/26/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A15
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: XPS M1330
dmi.sys.vendor: Dell Inc.