Connor Horman

Results 112 comments of Connor Horman

I think Spectre can interact with it insofar as any untrusted input value can - in the same way the frozen value could be a stale crypto key, it could...

I can agree with a documentation-level warning along the lines of "bytes obtained by freezing uninitialized memory can be previous contents from old allocations that happen to overlap, which may...

> So specifically, the bytes you get out of freeze are not limited to previous contents of now-released allocations (whether on the stack or the heap). They might be from...

Yeah, that is indeed just a misspelling of `core::hint::unreachable_unchecked()`, and has the same implications.

The code that was found was (in my project, but not my code directly, credits in the comment). I'd note that it seems like a potentially huge footgun that rust...

> The upshot is that if you care about address identity, you have to use static. Sometimes you can't do that, though. My code was a macro intended to be...

I second a disable switch. My current workarround is to disable the discord status option.

TBH, I'd prefer that `const` items that contain references/pointers have unique address for those items, IE. a `const` item should always evaluate to an identical expression*, not just an equal...

Right, I got mixed up because I don't usually get notifs from miri issues :sweat_smile:

Update on Current Status: * The most recent topic of discussion has been on the stdlib types list, with no current resolution. Syntax discussions have not begun as of yet....