Skip to content

Candidate 1.5.5#536

Open
jgriffiths wants to merge 7 commits into
masterfrom
multi_updates
Open

Candidate 1.5.5#536
jgriffiths wants to merge 7 commits into
masterfrom
multi_updates

Conversation

@jgriffiths

Copy link
Copy Markdown
Contributor

Version 1.5.5

Fixed

  • De-optimize some memcpy calls on x86 to prevent leaks via extended registers.

jgriffiths and others added 7 commits July 6, 2026 23:42
node_get_child_count() iterates all keys which we then immediately do
again below. Count the children as we iterate checking the keys instead.

Co-authored-by: odudex <odudex@proton.me>
Even when building with -fvisibility=hidden, some internal functions
(those that aren't static and thus provably limited to a single
compilation unit) are not marked hidden. As a result, calls to them from
within the library are routed through the PLT. This can result in
register data containing secrets/partial secrets being spilled to the
stack.

Mark such internal functions as hidden so internal calls to them avoid
the PLT call mechanism.
In particular when built as a shared library, calls through the PLT
spill these registers onto the stack.

Thanks to @pythcoiner <pythcoiner@proton.me> for identifying the
leak cause and suggesting a fix.
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