Skip to content

Commit bb09387

Browse files
authored
Merge pull request #1454 from zdohnal/osh-fixes-post-cve
scheduler: Fix possible use_after_free in `cupsdReadClient()`
2 parents ede9c28 + c1d2c63 commit bb09387

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

scheduler/client.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2761,10 +2761,7 @@ check_start_tls(cupsd_client_t *con) /* I - Client connection */
27612761
httpSetField(con->http, HTTP_FIELD_CONTENT_LENGTH, "0");
27622762

27632763
if (!cupsdSendHeader(con, HTTP_STATUS_OK, NULL, CUPSD_AUTH_NONE))
2764-
{
2765-
cupsdCloseClient(con);
27662764
return (-1);
2767-
}
27682765
}
27692766

27702767
return (1);

0 commit comments

Comments
 (0)