From: Alviro Iskandar Setiawan <[email protected]>
To: Ammar Faizi <[email protected]>
Cc: Irvan Malik Azantha <[email protected]>,
GNU/Weeb Mailing List <[email protected]>
Subject: [GIT PULL] One urgent core fix
Date: Sat, 18 Mar 2023 08:46:46 +0000 [thread overview]
Message-ID: <[email protected]> (raw)
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
next reply other threads:[~2023-03-18 8:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-18 8:46 Alviro Iskandar Setiawan [this message]
2023-03-18 9:01 ` [GIT PULL] One urgent thread fix pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230318084646.3906201-1-alviro.iskandar@gnuweeb.org \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox