From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from gnuweeb.org (unknown [51.81.211.47]) by gnuweeb.org (Postfix) with ESMTPSA id 6693D7E70E; Sat, 18 Mar 2023 08:46:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1679129208; bh=pqVPO0COb9ow9Hft0lgA9974VoB+p+vbviDRhwYzFSU=; h=From:To:Cc:Subject:Date:From; b=tfA74jJuJQiO/Ek+ttkJ9ylOVWMcSOYSdDCZONUXkeieLd+pHgqfbzECryXXb4EbP iL0l/3rhXPI7C+CqctdI6C7jdyzbqHdS8xr81r8WSSGjTWd1pu392+SwyXoZlxh/w7 6w4FbxYE+hGnCYBP6mj2qM0M+Git7Wcveh9tTi2FfNfnDKfVOxD3iq8+AZea1USpJ2 HIF2i6XsoJ1oZJCa8TckJGOnyODliLuGH77xPsP8XAMfUG+OT9V38qEmphSZfQmTcw tRheShch+Bp+uEbZsuPVz64Rrjmjj/MXpcBVRonu4rG5e9Z8s6a8h/KTETuZNtXPZw YhFHrmtBHVSQQ== From: Alviro Iskandar Setiawan To: Ammar Faizi Cc: Irvan Malik Azantha , GNU/Weeb Mailing List Subject: [GIT PULL] One urgent core fix Date: Sat, 18 Mar 2023 08:46:46 +0000 Message-Id: <20230318084646.3906201-1-alviro.iskandar@gnuweeb.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: please pull just one commit, urgent core fix Fix get_sqe fail path. When gw_ring_get_sqe() fails, the subroutine tries to submit the pending SQEs but doesn't fill the @sqe variable after submission. Therefore, it's left as NULL, and the prep function will hit a NULL pointer dereference bug. Fix this by calling gw_ring_get_sqe() again after submission. tq The following changes since commit bf0bf945b5fd072c04635489af58d53f7de81f8c: Merge tag 'print-helpers-2023-03-13' of https://github.com/alviroiskandar/GNUWeebBot2 (2023-03-13 02:38:07 +0700) are available in the Git repository at: https://github.com/alviroiskandar/GNUWeebBot2 tags/urgent_fix_2023-03-18 for you to fetch changes up to d81093873e4795b2b47f420baa7cd28fd09bb220: core/main: Fix get_sqe fail path (2023-03-18 15:37:21 +0700) ---------------------------------------------------------------- urgent_fix_2023-03-18 ---------------------------------------------------------------- Alviro Iskandar Setiawan (1): core/main: Fix get_sqe fail path core/main.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) -- Alviro Iskandar Setiawan