]> git.ipfire.org Git - thirdparty/ccache.git/commit
fix: Fix crash on HTTP request failure (#1628)
authorautoantwort <41973254+autoantwort@users.noreply.github.com>
Wed, 3 Sep 2025 18:01:43 +0000 (20:01 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Sep 2025 18:01:43 +0000 (20:01 +0200)
commit5d0c570c89ded4b50be2580864daf316cf5015a5
tree3221f1858a406c771e5b029bb98e00fc78194d10
parentaad12ffa329d2d8ca71857e041a0584946e4f5de
fix: Fix crash on HTTP request failure (#1628)

If the request fails and `result.error() != Error::Success` `result->` can return
a `nullptr` resulting in a null pointer dereference.

Co-authored-by: Leander Schulten <Leander.Schulten@tetys.de>
src/ccache/storage/remote/httpstorage.cpp