No description provided.
fix semantic UAFs in std.Io.Threaded #30778
Merged
andrewrk
merged 1 commit from 2026年01月10日 22:00:41 +01:00
InKryption/zig:fix-uafs into master
InKryption
commented 2026年01月10日 17:57:43 +01:00
InKryption
added 1 commit 2026年01月10日 17:57:45 +01:00
fix semantic UAFs in std.Io.Threaded
707823abdb
Some checks failed
ci / x86_64-linux-release (pull_request) Successful in 3h7m29s
ci / x86_64-freebsd-release (push) Successful in 50m7s
ci / x86_64-windows-release (push) Successful in 52m4s
ci / x86_64-windows-debug (push) Successful in 53m15s
ci / aarch64-macos-release (push) Successful in 1h10m48s
ci / x86_64-freebsd-debug (push) Successful in 1h12m44s
ci / x86_64-openbsd-release (push) Successful in 1h14m39s
ci / x86_64-openbsd-debug (push) Successful in 1h20m3s
ci / aarch64-linux-release (push) Successful in 1h36m30s
ci / x86_64-linux-debug (push) Successful in 1h37m22s
ci / aarch64-macos-debug (push) Successful in 1h51m2s
ci / loongarch64-linux-debug (pull_request) Has been cancelled
ci / loongarch64-linux-release (pull_request) Has been cancelled
ci / powerpc64le-linux-debug (pull_request) Has been cancelled
ci / powerpc64le-linux-release (pull_request) Has been cancelled
ci / riscv64-linux-debug (pull_request) Has been cancelled
ci / riscv64-linux-release (pull_request) Has been cancelled
ci / s390x-linux-debug (pull_request) Has been cancelled
ci / s390x-linux-release (pull_request) Has been cancelled
ci / aarch64-linux-debug (push) Successful in 2h8m12s
ci / loongarch64-linux-debug (push) Failing after 37s
ci / loongarch64-linux-release (push) Failing after 7s
ci / riscv64-linux-release (push) Failing after 37s
ci / riscv64-linux-debug (push) Failing after 1m2s
ci / x86_64-linux-debug-llvm (push) Successful in 3h12m17s
ci / x86_64-linux-release (push) Successful in 3h40m59s
ci / s390x-linux-release (push) Failing after 1h38m34s
ci / s390x-linux-debug (push) Failing after 2h26m20s
ci / powerpc64le-linux-release (push) Successful in 1h37m6s
ci / powerpc64le-linux-debug (push) Successful in 3h49m53s
andrewrk
approved these changes 2026年01月10日 22:00:23 +01:00
andrewrk
left a comment
Thank you
Thank you
andrewrk
merged commit 707823abdb into master 2026年01月10日 22:00:41 +01:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
This proposal is planned.
The web application for interactive documentation and generation of its assets.
The C backend outputs C source code.
The LLVM backend outputs an LLVM bitcode module.
The self-hosted backends produce machine code directly.
Zig's included binary utilities: zig ar, zig dlltool, zig lib, zig ranlib, zig objcopy, and zig rc.
Implementing this issue could cause existing code to no longer compile or have different behavior.
The Zig build system - zig build, std.Build, the build runner, and package management.
An issue related to debug information (e.g. DWARF) produced by the Zig compiler.
An issue with documentation, e.g. the language reference or standard library doc comments.
This issue points out an error message that is unhelpful and should be improved.
Tokenization, parsing, AstGen, ZonGen, Sema, Legalize, and Liveness.
An issue related to Zig's integrated fuzz testing.
Reuse of internal compiler state for faster compilation.
This issue relates to Zig's libc implementation and/or vendored libcs.
This issue relates to Zig's compiler-rt library.
This issue relates to Zig's vendored libc++ and/or libc++abi.
This issue relates to Zig's standard library.
This issue relates to Zig's vendored libtsan.
This issue relates to Zig's ubsan-rt library.
This issue relates to Zig's vendored libunwind.
Zig's integrated object file and incremental linker.
The compiler reports success but produces semantically incorrect code.
This issue suggests modifications. If it also has the "accepted" label then it is planned.
This issue or pull request should be mentioned in the release notes.
This issue is related to testing the compiler, standard library, or other parts of Zig.
This issue tracks the support tier for a target.
Zig as a drop-in C-family compiler.
The Zig source code formatter.
https://ziglang.org/news/announcing-donor-bounties
Observed behavior contradicts documented or intended behavior.
This issue is limited in scope and/or knowledge of project internals.
An issue with a third-party project that uses this project.
Solving this issue will likely involve adding new logic or components to the codebase.
An issue related to project infrastructure, e.g. continuous integration.
A task to improve performance and/or resource usage.
No questions on the issue tracker; use a community space instead.
A bug that did not occur in a previous version.
An issue with a third-party project that this project uses.
abi/f32
abi/ilp32
abi/n32
abi/sf
abi/x32
accepted
This proposal is planned.
arch/1750a
arch/21k
arch/6502
arch/a29k
arch/aarch64
arch/alpha
arch/amdgcn
arch/arc
arch/arc32
arch/arc64
arch/arm
arch/avr
arch/avr32
arch/bfin
arch/bpf
arch/clipper
arch/colossus
arch/cr16
arch/cris
arch/csky
arch/dlx
arch/dsp16xx
arch/elxsi
arch/epiphany
arch/fr30
arch/frv
arch/h8300
arch/h8500
arch/hexagon
arch/hppa
arch/hppa64
arch/i370
arch/i860
arch/i960
arch/ia64
arch/ip2k
arch/kalimba
arch/kvx
arch/lanai
arch/lm32
arch/loongarch32
arch/loongarch64
arch/m32r
arch/m68k
arch/m88k
arch/maxq
arch/mcore
arch/metag
arch/microblaze
arch/mips
arch/mips64
arch/mmix
arch/mn10200
arch/mn10300
arch/moxie
arch/mrisc32
arch/msp430
arch/nds32
arch/nios2
arch/ns32k
arch/nvptx
arch/or1k
arch/pdp10
arch/pdp11
arch/pj
arch/powerpc
arch/powerpc64
arch/propeller
arch/riscv32
arch/riscv64
arch/rl78
arch/rx
arch/s390
arch/s390x
arch/sh
arch/sh64
arch/sparc
arch/sparc64
arch/spirv
arch/spu
arch/st200
arch/starcore
arch/tilegx
arch/tilepro
arch/tricore
arch/ts
arch/v850
arch/vax
arch/vc4
arch/ve
arch/wasm
arch/we32k
arch/x86
arch/x86_16
arch/x86_64
arch/xcore
arch/xgate
arch/xstormy16
arch/xtensa
autodoc
The web application for interactive documentation and generation of its assets.
backend/c
The C backend outputs C source code.
backend/llvm
The LLVM backend outputs an LLVM bitcode module.
backend/self-hosted
The self-hosted backends produce machine code directly.
binutils
Zig's included binary utilities: zig ar, zig dlltool, zig lib, zig ranlib, zig objcopy, and zig rc.
breaking
Implementing this issue could cause existing code to no longer compile or have different behavior.
build system
The Zig build system - zig build, std.Build, the build runner, and package management.
debug info
An issue related to debug information (e.g. DWARF) produced by the Zig compiler.
docs
An issue with documentation, e.g. the language reference or standard library doc comments.
error message
This issue points out an error message that is unhelpful and should be improved.
frontend
Tokenization, parsing, AstGen, ZonGen, Sema, Legalize, and Liveness.
fuzzing
An issue related to Zig's integrated fuzz testing.
incremental
Reuse of internal compiler state for faster compilation.
lib/c
This issue relates to Zig's libc implementation and/or vendored libcs.
lib/compiler-rt
This issue relates to Zig's compiler-rt library.
lib/cxx
This issue relates to Zig's vendored libc++ and/or libc++abi.
lib/std
This issue relates to Zig's standard library.
lib/tsan
This issue relates to Zig's vendored libtsan.
lib/ubsan-rt
This issue relates to Zig's ubsan-rt library.
lib/unwind
This issue relates to Zig's vendored libunwind.
linking
Zig's integrated object file and incremental linker.
miscompilation
The compiler reports success but produces semantically incorrect code.
os/aix
os/android
os/bridgeos
os/contiki
os/dragonfly
os/driverkit
os/emscripten
os/freebsd
os/fuchsia
os/haiku
os/hermit
os/hurd
os/illumos
os/ios
os/kfreebsd
os/linux
os/maccatalyst
os/macos
os/managarm
os/netbsd
os/ohos
os/openbsd
os/plan9
os/redox
os/rtems
os/serenity
os/solaris
os/tvos
os/uefi
os/visionos
os/wali
os/wasi
os/watchos
os/windows
os/zos
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
release notes
This issue or pull request should be mentioned in the release notes.
testing
This issue is related to testing the compiler, standard library, or other parts of Zig.
tier system
This issue tracks the support tier for a target.
zig cc
Zig as a drop-in C-family compiler.
zig fmt
The Zig source code formatter.
bounty
https://ziglang.org/news/announcing-donor-bounties
bug
Observed behavior contradicts documented or intended behavior.
contributor-friendly
This issue is limited in scope and/or knowledge of project internals.
downstream
An issue with a third-party project that uses this project.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
infra
An issue related to project infrastructure, e.g. continuous integration.
optimization
A task to improve performance and/or resource usage.
question
No questions on the issue tracker; use a community space instead.
regression
A bug that did not occur in a previous version.
upstream
An issue with a third-party project that this project uses.
No labels
abi/f32
abi/ilp32
abi/n32
abi/sf
abi/x32
accepted
arch/1750a
arch/21k
arch/6502
arch/a29k
arch/aarch64
arch/alpha
arch/amdgcn
arch/arc
arch/arc32
arch/arc64
arch/arm
arch/avr
arch/avr32
arch/bfin
arch/bpf
arch/clipper
arch/colossus
arch/cr16
arch/cris
arch/csky
arch/dlx
arch/dsp16xx
arch/elxsi
arch/epiphany
arch/fr30
arch/frv
arch/h8300
arch/h8500
arch/hexagon
arch/hppa
arch/hppa64
arch/i370
arch/i860
arch/i960
arch/ia64
arch/ip2k
arch/kalimba
arch/kvx
arch/lanai
arch/lm32
arch/loongarch32
arch/loongarch64
arch/m32r
arch/m68k
arch/m88k
arch/maxq
arch/mcore
arch/metag
arch/microblaze
arch/mips
arch/mips64
arch/mmix
arch/mn10200
arch/mn10300
arch/moxie
arch/mrisc32
arch/msp430
arch/nds32
arch/nios2
arch/ns32k
arch/nvptx
arch/or1k
arch/pdp10
arch/pdp11
arch/pj
arch/powerpc
arch/powerpc64
arch/propeller
arch/riscv32
arch/riscv64
arch/rl78
arch/rx
arch/s390
arch/s390x
arch/sh
arch/sh64
arch/sparc
arch/sparc64
arch/spirv
arch/spu
arch/st200
arch/starcore
arch/tilegx
arch/tilepro
arch/tricore
arch/ts
arch/v850
arch/vax
arch/vc4
arch/ve
arch/wasm
arch/we32k
arch/x86
arch/x86_16
arch/x86_64
arch/xcore
arch/xgate
arch/xstormy16
arch/xtensa
autodoc
backend/c
backend/llvm
backend/self-hosted
binutils
breaking
build system
debug info
docs
error message
frontend
fuzzing
incremental
lib/c
lib/compiler-rt
lib/cxx
lib/std
lib/tsan
lib/ubsan-rt
lib/unwind
linking
miscompilation
os/aix
os/android
os/bridgeos
os/contiki
os/dragonfly
os/driverkit
os/emscripten
os/freebsd
os/fuchsia
os/haiku
os/hermit
os/hurd
os/illumos
os/ios
os/kfreebsd
os/linux
os/maccatalyst
os/macos
os/managarm
os/netbsd
os/ohos
os/openbsd
os/plan9
os/redox
os/rtems
os/serenity
os/solaris
os/tvos
os/uefi
os/visionos
os/wali
os/wasi
os/watchos
os/windows
os/zos
proposal
release notes
testing
tier system
zig cc
zig fmt
bounty
bug
contributor-friendly
downstream
enhancement
infra
optimization
question
regression
upstream
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
ziglang/zig!30778
Loading...
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "InKryption/zig:fix-uafs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?