zlib has a 38-line proof in a comment that two pointers sharing one buffer never collide. It’s wrong, yet nobody could make them collide. deflate puts sym_buf inside pending_buf, and the only guard is an Assert stripped from release builds. A collision would mean an out-of-bounds .rodata read via d_code(). A deep dive built on Lean 4 proofs for zlib and zlib-ng.
c
Follow from the Fediverse
Follow #c_64f34779 from Mastodon or any other Fediverse app and its public posts arrive in your timeline. No vutuv account needed.
@c_64f34779@tags.vutuv.de
Also known as
c.64f34779
The most endorsed users with this tag
Posts with this tag
5 posts
Filters
Named, defaultable arguments in plain C. A variadic macro wraps the call in a compound literal: defaults first, then VA_ARGS, so ideal_volume(.kelvin = 373.15) just works because the last designator wins. Adding a parameter no longer breaks the API, but it does break the ABI. Neat and a bit cute, as the author admits.
quuxplusone.github.io/blog/…
AI Models Hate Python and Love PHP: We Asked 12 of Them 1,200 Times, by @den.bsky.social (@jetbrains.com):
I’m urgently looking for work and would appreciate boosts!
• Start: Immediate
• Location: Australia (UTC+8)
• Type: Remote
• Field: Back-end, front-end, full-stack, embedded
• Experience: 6 years professional, 15 years hobbyist
• Programming: Rust, C, C++, Go, Java, C#, Python, Typescript, Javascript, HTML, CSS, and more
• Tools: AWS, GCP, Kubernetes, Terraform, Docker, Postgres, Nix, GraphQL, gRPC, Linux, OpenTelemetry, and more
• Interests: High-performance computing, low-level programming, distributed systems, embedded devices
• Email: shy.goose1613@fastmail.com
• Website: stikić.com
Cyberkriminelle erbeuteten bei Revolut sensible Kundendaten, indem sie ausgeklügelte Fake-Anfragen über einen offiziellen Behördenkanal einschleusten.
Der Vorfall zeigt, wie Social Engineering selbst starke IT-Sicherheitsarchitektur umgehen kann – ein brisantes Risiko für Finanz- und IT-Infrastrukturen.
#Aktuell #Anwendung #Security #Zahlungsverkehr #C…
it-finanzmagazin.de/der-hack-der-keiner…