The exact cause of this issue is the function httpClose(con->http) being called in scheduler/client.c before |httpClose(con->http); cupsdLogClient(con, CUPSDLOGWARN, "IP lookup failed - connection from %s closed!", httpGetHostname(con->http, NULL, 0));| The problem is that httpClose always, provided its argument is not null,frees the pointer at the end of the call, only for cupsdLogClient to pass the pointer to httpGetHostname.
Created cups tracking bugs for this issue: Affects: fedora-37 [bug 2216717] Affects: fedora-38 [bug 2216718]
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2023:6596 https://access.redhat.com/errata/RHSA-2023:6596
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2023:7165 https://access.redhat.com/errata/RHSA-2023:7165
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.6 Extended Update Support Via RHSA-2024:1101 https://access.redhat.com/errata/RHSA-2024:1101
This issue has been addressed in the following products: Red Hat Enterprise Linux 8.8 Extended Update Support Via RHSA-2024:1409 https://access.redhat.com/errata/RHSA-2024:1409