gpgme: add upstream patch fixing a double free
"By using an OpenPGP key containing a crafted very long user id it is
possible to trigger a double free. This double free can be used
exfiltrate data from applications by sending for example signed data.
Exploiting this bug to mount an Remote Code Execution attack (RCE) can't
be ruled out."
update to gpgme-2.3.1
includes fix for CVE-2026-129975, "By using an OpenPGP key containing a
crafted very long user id it is possible to trigger a double free. This
double free can be used exfiltrate data from applications by sending
for example signed data. Exploiting this bug to mount an Remote Code
Execution attack (RCE) can't be ruled out."
[ConstFold][NFC] Add IR denorm misfolding baseline (#236190)
This patch adds baseline tests with FIXME comments to highlight results
that are missing denormal_fpenv-aware flushing during const-folding with,
which will be addressed in a follow-up patch.
Currently ConstantFolding.cpp is the only IR code-path that tries to handle
denormal_fpenv while const-folding, and even there it misses several
cases like FMA and fmax. This results in inconsistently folded results in
several cases with a non-IEEE denormal_fpenv.
The cases ignoring denormal_fpenv that are covered in these new baseline tests are:
- InstSimplify arithmetic: FMA, rounding, comparisons, and min/max.
- Constant folding during InstCombine reassociation and factorization.
- BranchProbabilityInfo folding of loop-carried value chains.
- NVVM multiply, divide, and FMA at the subnormal rounding boundary.
[AArch64][GlobalISel][NFC] Add denormal const-fold baselines (#241382)
Add GlobalISel lit tests for AArch64 recording the current scalar
constant folding behaviour for f16, f32 and f64 under IEEE,
flush-to-zero and dynamic denormal environments.
Add TODO comments describing the desired results if const-folding were
to honour denormal_fpenv, which will be added in a follow-up commit.
[InlineSpiller] Use a new value number for the COPY range of a fold (#243055)
When folding a memory operand makes the target insert a COPY (e.g. a
reload folded into an X86 NDD instruction), foldMemoryOperand() extends
the original live interval from the COPY to the folded instruction
(#199182). That segment reused the folded instruction's value number,
though the register holds the COPY's source there.
HoistSpillHelper groups spills by (stack slot, original value number),
so rmRedundantSpills treated the store the COPY was folded into and the
later spill of the folded result as duplicates, and deleted the latter.
In memfold-origVNI-crash.ll this dropped an `or`, returning %p2 instead
of %p2 | %p3.
Give the segment its own value number at the COPY. Replace the
getVNInfoAt() guard with an assert: the sub-interval invariant already
requires OrigLI to be live at FoldMI's def.
Assisted-by: Claude Opus 5.5 <noreply at anthropic.com>
[InlineSpiller] Do not merge or hoist a spill with no original value (#237148)
HoistSpillHelper keeps a copy of the original live interval, taken at
the first spill to each stack slot and never updated, and keys
MergeableSpills by the original VNInfo of each spill. Since #199182,
foldMemoryOperand can extend the original interval backwards over the
COPY that an X86 NDD fold inserts (#191368). A spill later folded into
that COPY lies outside the saved interval, so getVNInfoAt returns null.
The null VNInfo* is stored as a MergeableSpills key and dereferenced in
runHoistSpills (SIGSEGV).
Leave such a spill out of merging and hoisting; it stays where it was
inserted. Both are optimizations, so skipping them is safe, and inputs
that did not crash before get the same code.
Assisted-by: Claude Opus 5.5 <noreply at anthropic.com>
[ValueTracking] Track constant ExtractElement indices in sign-bit queries (#244296)
Query only the selected lane for an in-range constant index into a fixed
vector.
This matches the behavior in SDAG.
Assisted by: GPT 6.1 Sol
rpki-client: avoid a double free in state file parsing
Properly transfer ownership of nca and ca to the state trees. Otherwise
an ferror() after a successful RB_INSERT() could result in a double free
in the error path.
ok claudio job
lang/luajit-openresty: Update to 2.1-20261023
Two local patches are no longer needed, upstream applied both changes:
patch-src_jit_bcsave.lua (ppc64/ppc64le entries in map_arch) and
patch-src_vm__ppc.dasc (lp/stp for SBUF fields).
Changes: https://github.com/openresty/luajit2/compare/v2.1-20250826...v2.1-20261023
PR: 300296
Approved by: maintainer timeout (22 days)
Sponsored by: Netzkommune GmbH
lang/luajit-openresty: Update to 2.1-20261023
Two local patches are no longer needed, upstream applied both changes:
patch-src_jit_bcsave.lua (ppc64/ppc64le entries in map_arch) and
patch-src_vm__ppc.dasc (lp/stp for SBUF fields).
Changes: https://github.com/openresty/luajit2/compare/v2.1-20250826...v2.1-20261023
PR: 300296
Approved by: maintainer timeout (22 days)
Sponsored by: Netzkommune GmbH
[SelectionDAG] Honor denormal modes when folding (#236172)
Introduce shared denormal-aware FPFold helper functions in the Support
library.
Then use the new tryFoldFP API within SelectionDAG to correctly fold
arithmetic, FMA, comparisons, rounding, and min/max using the enclosing
MachineFunction's denormal mode.
Decline folds when dynamic flushing can change the result or IEEE
rounding can promote a subnormal FTZ result to minimum-normal. Update
the NVPTX tests added in #236060 to verify the correct behaviour.
[PowerPC] Model the CR defs of MTCRF used to restore callee-saved CRs (#242763)
The epilogue restores the non-volatile CR fields (CR2-CR4) with a single
`mtcrf`. MTCRF takes only an FXM mask immediate and a GPR, and declares
no CR operands, so the post-RA scheduler sees no dependency between the
restore and instructions that read or write the restored CR bits. It can
therefore hoist the restore above those reads, making the function use
the caller's condition bits instead of its own.
Add the restored CR fields as implicit defs when building the MTCRF in
`emitEpilogue()` and `restoreCRs()`, matching the way the prologue
already adds implicit uses to MFCR. The scheduler now models the WAR/WAW
dependencies and keeps the restore after the last read.
This is a regression from #202339 (3fc6711ccaf6), which replaced the
per-field MTOCRF sequence -- each MTOCRF defines the CR field it
restores -- with a single MTCRF, which declares no CR defs.
Fixes #242250.
www/onionshare-cli: update 2.6_4 to 2.7
2.6 imports werkzeug.urls.url_quote, which is gone in Werkzeug 3, so
onionshare_cli fails to import. 2.6.1 and later work with Werkzeug 3.
- Build with pep517 and drop the setup.py patch.
- Add the Flask-Compress, gevent, packaging, qrcode, waitress and
werkzeug dependencies 2.7 needs, and follow upstream's minimums for
flask-socketio, PyNaCl, requests and urllib3. Keep net/py-cepa (the
stem fork) as before, now >=1.8.4; Flask-Compress >=1.14.
- Patch the installed metadata to match the tree, so pip check passes:
relax werkzeug==3.1.9 to >=3.1.8 and flask-compress>=1.24 to >=1.14
(only Compress().init_app() is used), drop the qrcode<8 cap (the
tree has 8.2), require cepa instead of stem==1.8.1 (py-cepa installs
the stem package), and drop setuptools, wheel, cffi, cython and
pkgconfig, which are not imported at run time.
While here, add concurrent to USE_PYTHON.
[5 lines not shown]
www/onionshare-cli: update 2.6_4 to 2.7
2.6 imports werkzeug.urls.url_quote, which is gone in Werkzeug 3, so
onionshare_cli fails to import. 2.6.1 and later work with Werkzeug 3.
- Build with pep517 and drop the setup.py patch.
- Add the Flask-Compress, gevent, packaging, qrcode, waitress and
werkzeug dependencies 2.7 needs, and follow upstream's minimums for
flask-socketio, PyNaCl, requests and urllib3. Keep net/py-cepa (the
stem fork) as before, now >=1.8.4; Flask-Compress >=1.14.
- Patch the installed metadata to match the tree, so pip check passes:
relax werkzeug==3.1.9 to >=3.1.8 and flask-compress>=1.24 to >=1.14
(only Compress().init_app() is used), drop the qrcode<8 cap (the
tree has 8.2), require cepa instead of stem==1.8.1 (py-cepa installs
the stem package), and drop setuptools, wheel, cffi, cython and
pkgconfig, which are not imported at run time.
While here, add concurrent to USE_PYTHON.
[5 lines not shown]