about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stdio.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-13 12:08:59 +0000
committerbors <bors@rust-lang.org>2021-06-13 12:08:59 +0000
commitfb3ea63d9b4c3e9bb90d4250b870faaffb9c8fd2 (patch)
tree94675917e0edd783192d018e3d0250e537f47d8a /library/std/src/sys/unix/stdio.rs
parent6cc5d5432aaed21630ead1fa59418245ee2e1047 (diff)
parente29f3e837fb6262040d42d4cde8e2f775dee0fe7 (diff)
downloadrust-fb3ea63d9b4c3e9bb90d4250b870faaffb9c8fd2.tar.gz
rust-fb3ea63d9b4c3e9bb90d4250b870faaffb9c8fd2.zip
Auto merge of #86245 - lqd:const-ub-align, r=RalfJung
Fix ICEs on invalid vtable size/alignment const UB errors

The invalid vtable size/alignment errors from `InterpCx::read_size_and_align_from_vtable` were "freeform const UB errors", causing ICEs when reaching validation. This PR turns them into const UB hard errors to catch them during validation and avoid that.

Fixes #86193

r? `@RalfJung`

(It seemed cleaner to have 2 variants but they can be merged into one variant with a message payload if you prefer that ?)
Diffstat (limited to 'library/std/src/sys/unix/stdio.rs')
0 files changed, 0 insertions, 0 deletions