Skip to content

port 9 patches to 9k, add freecertchain function, read certificates as cert chain in smtpd and pop3#23

Open
hahahahacker2009 wants to merge 445 commits into
0intro:mainfrom
hahahahacker2009:certchain
Open

port 9 patches to 9k, add freecertchain function, read certificates as cert chain in smtpd and pop3#23
hahahahacker2009 wants to merge 445 commits into
0intro:mainfrom
hahahahacker2009:certchain

Conversation

@hahahahacker2009

@hahahahacker2009 hahahahacker2009 commented Feb 28, 2026

Copy link
Copy Markdown

and some misc changes that everyone wants too

0intro added 30 commits January 20, 2016 13:38
From: cinap_lenrek <[email protected]>
Date: Sat, 25 Sep 2021 20:35:04 +0000
Subject: [PATCH] devtls: fix bwrite memory leak when channel stops being open

tlsbwrite() would call checkstate() before calling tlsrecwrite()
to make sure the channel is open. however, because checkstate()
only raises the error, the Block* passed wont be freed and
would result in a memory leak.

move the checkstate() call inside tlsrecwrite() to reuse the
error handling that frees the block on error.
commit a4c1f3cc18df6fddd548f4df9f209695c4eb7263
Author: cinap_lenrek <[email protected]>
Date:   Tue Nov 9 01:46:13 2021 +0000

    devtls: reject zero length records (thanks sigrid)

    zero length record causes ensure() todo nothing,
    while qgrab() assumes there is at least one buffer
    in the queue and would dereference the nil buffer.
@hahahahacker2009

Copy link
Copy Markdown
Author

@0intro

@0intro

0intro commented Mar 17, 2026

Copy link
Copy Markdown
Owner

Thanks. I've reviewing your changes to be merged into 9legacy.

@hahahahacker2009

Copy link
Copy Markdown
Author

I've just applied the pc-x86watchdog-ilock patch for every kernel. Just copy and paste, I'm not sure if they actually work or needed in those kernels :D

@hahahahacker2009 hahahahacker2009 changed the title add freecertchain function, read certificates as cert chain in smtpd and pop3 port 9 patches to 9k, add freecertchain function, read certificates as cert chain in smtpd and pop3 Mar 28, 2026
@hahahahacker2009

Copy link
Copy Markdown
Author

In /usr/glenda/lib/profile there is a line:

fn cd { builtin cd $* && awd } # for acme

It should be added to /sys/lib/newuser too. I will do it tomorrow.

@0intro 0intro force-pushed the main branch 11 times, most recently from 24eb64c to 85e2f56 Compare June 27, 2026 11:29
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.

3 participants