Skip to content

Sync 20260208#29

Merged
mannfredcom merged 8 commits intomannfredcom:mainfrom
synandro:main
Feb 8, 2026
Merged

Sync 20260208#29
mannfredcom merged 8 commits intomannfredcom:mainfrom
synandro:main

Conversation

@mannfredcom
Copy link
Owner

No description provided.

mannfredcom and others added 8 commits February 7, 2026 20:42
Correct start index for parse_nameservers.  The reason 2 was used instead of one dates back from when we were using the ircd string_to_array function which treats parv[0] as special.  When we changed to the libratbox version, this behavior doesn't happen.
Bail on zero length buffer to rb_linebuf_get
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 71e97eb132

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

size_t cpylen;
char *start, *ch;

lrb_assert(buflen > 0);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid abort when recvq is empty for zlib setup

The new lrb_assert(buflen > 0) in rb_linebuf_get will abort in builds without SOFT_ASSERT when buflen is 0. This is reachable in start_zlib_session (src/sslproc.c) because it calls rb_linebuf_get in a do { ... } while (cpylen > 0) loop with left = recvqlen, and recvqlen can be 0 when no data is queued. In that case the first call passes buflen==0 and the process asserts, which is a regression from the previous behavior where empty queues were tolerated. Consider early-returning on buflen==0 or skipping the call when recvqlen==0.

Useful? React with 👍 / 👎.

@mannfredcom mannfredcom merged commit 0c00c43 into mannfredcom:main Feb 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants