Jeremy Soller 🦀 on Nostr: Would this have happened in safe Rust? Probably not, it is a simple index into a ...
Would this have happened in safe Rust? Probably not, it is a simple index into a simple array that goes too far, a Rust implementation would likely have simply panicked instead of giving away the keys to program memory
Published at
2023-10-03 23:40:35Event JSON
{
"id": "48f5a50cb0430fa91ac5699972e868e20ae8c61afdecb41986dc2c6516d9d495",
"pubkey": "51fa7fab30819b1685bf6f5b8c298e9481f8068435422c3710f66a6cf6339f4e",
"created_at": 1696376435,
"kind": 1,
"tags": [
[
"e",
"576da4b0f71e64e88debc2ba08cfcd3184c7183d4b56225c96f950de13897d34",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fosstodon.org/users/soller/statuses/111173726108744824",
"activitypub"
]
],
"content": "Would this have happened in safe Rust? Probably not, it is a simple index into a simple array that goes too far, a Rust implementation would likely have simply panicked instead of giving away the keys to program memory",
"sig": "5ac197dd969ffcd32c5f686ea65cbf609eecb18a7441fa2d9f572095bca33f6e06831a756045d0c8fe249d6658de38b7e7ab4524888de1b797f13ec73675d6e4"
}