Andy Wang

Results 14 issues of Andy Wang

It is well known that SeqLocks - the underlying algorithm of `AtomicCell` - rely on data races which is technically always UB, though in practice it is assumed that a...

bug
crossbeam-utils

This fixes https://github.com/gchq/CyberChef/issues/930 by correcting the key size validation. Tests have also been added for key sizes other than 8 bytes.

IRLO pre-RFC thread: https://internals.rust-lang.org/t/pre-rfc-cargo-profile-setting-to-sanitise-host-dependent-absolute-paths-enabled-by-default-for-release-builds/14504 Relevant GitHub issue and discussions: https://github.com/rust-lang/rust/issues/40552 [Rendered](https://github.com/cbeuw/rfcs/blob/trim-path/text/3127-trim-paths.md)

T-compiler
T-cargo

FCDO's Policy paper [Statement on freedom of religion or belief and gender equality](https://www.gov.uk/government/publications/freedom-of-religion-or-belief-and-gender-equality-statement-at-the-international-ministerial-conference-2022/statement-on-freedom-of-religion-or-belief-and-gender-equality) has been substantially edited between [10 July](https://web.archive.org/web/20220710135950/https://www.gov.uk/government/publications/freedom-of-religion-or-belief-and-gender-equality-statement-at-the-international-ministerial-conference-2022/statement-on-freedom-of-religion-or-belief-and-gender-equality) and [22 July](https://web.archive.org/web/20220722140343/https://www.gov.uk/government/publications/freedom-of-religion-or-belief-and-gender-equality-statement-at-the-international-ministerial-conference-2022/statement-on-freedom-of-religion-or-belief-and-gender-equality), omitting references to "sexual and reproductive health...

This panic happens when using the `slicer` toxic: ``` panic: runtime error: slice bounds out of range [808:773] goroutine 114 [running]: github.com/Shopify/toxiproxy/v2/toxics.(*SlicerToxic).Pipe(0x1400020c0f0, 0x1400021e480) github.com/Shopify/toxiproxy/v2/toxics/slicer.go:65 +0x320 github.com/Shopify/toxiproxy/v2/toxics.(*ToxicStub).Run(0x1400021e480, 0x14000210d20) github.com/Shopify/toxiproxy/v2/toxics/toxic.go:86 +0xb8 created...

Reproduction is in Custom MIR. Not sure if this can be triggered from surface rust ```rust #![feature(custom_mir, core_intrinsics)] extern crate core; use core::intrinsics::mir::*; #[custom_mir(dialect = "runtime", phase = "initial")] pub...

C-bug
O-x86_64
upstream

Part of #1248. To reproduce, simply `y.rs build` on an Apple Silicon machine. Sysroot build fails with ``` error: error writing object file: unimplemented relocation Relocation { offset: 32, size:...

O-macos
O-arm

```rust use petgraph::{ stable_graph::{DefaultIx, StableGraph}, Directed, }; fn main() { let mut graph = StableGraph::

enhancement
documentation

Quantisation tables are 8x8 matrices embedded in every JPEG image. They are used for lossy compression and are needed to decode the image. Different camera makes, models and image processing...

```rust use std::sync::atomic::Ordering::*; use std::sync::atomic::{AtomicBool, AtomicUsize}; use std::thread::spawn; pub fn main() { // Give these 'static lifetime to avoid using Arc static X: AtomicUsize = AtomicUsize::new(0); static T1_DONE: AtomicBool =...

C-bug
A-weak-memory