Mehdi Akiki

Writing archive

Everything published under Writing, newest first. Each entry is labelled as part of an investigation, an article or reference. Short engineering notes have their own archive.

  • Published on
    Rust 1.99.0 forgot one attribute on FFI functions that return bool on x86_64 Linux, and C callers got 16 where Rust computed false. I rebuilt the bug with three toolchains, gcc and clang, to see what this value does in C and how to tell a compiler bug from my own ABI mistake.
  • Published on
    Eight eMudhra CA keys had a private value below 256, so my laptop found all of them in a fraction of a second. Then I looked at what still trusted the root above them. The browsers were fixed in hours. curl, Python and the system store were not.