ALT Linux repositórios
S: | 2.4.7-alt1 |
5.0: | 1.3.10-alt1 |
4.1: | 1.3.10-alt0.M41.4 |
+updates: | 1.3.9-alt1.M41.1 |
4.0: | 1.2.12-alt6.M40.9 |
+updates: | 1.2.12-alt6.M40.8 |
3.0: | 1.1.20-alt14.1 |
Group :: Sistema/Servidores
RPM: cups
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: ALT-lspp-context+no-filename.patch
Download
Download
cups with current lspp patch returnes HTTP_STATUS_SERVER_ERROR (internal
server error) if user has selinux context != UNKNOWN_SL and ipp call
doesn't contain a file.
--- cups/scheduler/client.c
+++ cups/scheduler/client.c
@@ -2008,7 +2008,7 @@ cupsdReadClient(cupsd_client_t *con) /* I - Client to read from */
}
#ifdef WITH_LSPP
- if (strncmp(con->scon, UNKNOWN_SL, strlen(UNKNOWN_SL)) != 0)
+ if (con->filename && strncmp(con->scon, UNKNOWN_SL, strlen(UNKNOWN_SL)) != 0)
{
if (getfilecon(con->filename, &spoolcon) == -1)
{