History repeating itself: [Archive.is]Β 31607 – C:\nul\nul crashes/BSODΒ then, now it’s this:
- [WayBack]Β A bug in NTFS, or hang the entire system / Blog Aladdin RD / Habrahabr
- [WayBack]Β ΠΠ°Π³ Π² NTFS, ΠΈΠ»ΠΈ ΠΊΠ°ΠΊ ΠΏΠΎΠ΄Π²Π΅ΡΠΈΡΡ Π²ΡΡ ΡΠΈΡΡΠ΅ΠΌΡ / ΠΠ»ΠΎΠ³ ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ ΠΠ»Π°Π΄Π΄ΠΈΠ½ Π .Π. / Π₯Π°Π±ΡΠ°Ρ Π°Π±Ρ
- [WayBack]Β In a throwback to the β90s, NTFS bug lets anyone hang or crash Windows 7, 8.1 | Ars Technica UK
- [WayBack]Β NTFS bug allows any website to crash Windows 7, 8.1
Via:
- [WayBack] NTFS bug allows any website to crash Windows 7, 8.1Users of older versions of Windows arenβt having the best time of it lately. Last week it was disco… – BetaNews – Google+
- [WayBack] Writing solid code is really hard these days … – Lars Fosdal – Google+
All versions prior to Windows 10 and Windows Server 2016 seem vulnerable.
So add $MFT to this list:
The following device names have been known to render a system unstable: CON, NUL, AUX, PRN, CLOCK$, COMx, LPT1, and CONFIG$.
Oh BTW: history repeated itself this year too. With NUL
In short, Steven Sheldon created a rust package named nulΒ which broke the complete package manager on Windows:
- [WayBack]Β How I Broke Rust’s Package Manager for All Windows Users – sasheldon.com
- [WayBack]Β I Broke Rusts Package Manager for Windows Users | Hacker News
- [WayBack]Β I think a crate called ‘nul’ is causing errors for cargo (windows).
- [WayBack]Β @bstrie: @sheldonut Hi Steven, Rust team here :) We’re having some technical difficulties with the name of one of your crates… feel free to DM
- [WayBack]Β Null character – Wikipedia
- [WayBack]Β IRC Logs for #rust-internals | BotBot.me [o__o] – 2017-04-30 – 84953638 – page 4
- [WayBack]Β List of software package management systems – Wikipedia: Application-level package managers
- [WayBack]Β I think the name of this project causes issues for windows users. Β· Issue #1 Β· SSheldon/nul
- When cargo updates its crates.io registry, it creates a file for each crate, no extension, just the name.The name
nulis not a valid name in windows 10, so cargo fails to update the registry, and then aborts whatever it was doing (building, searching, ect.).I think this project should be re-published to crates.io under a new name, something likenull-stringsΒ perhaps?
- When cargo updates its crates.io registry, it creates a file for each crate, no extension, just the name.The name
- [WayBack]Β Fresh install unable to install anything Β· Issue #3982 Β· rust-lang/cargo
- Here is what I see with verbose. I get this trying to install clippy or rustfmt. I assume I would get it with other crates.Updating registry
https://github.com/rust-lang/crates.io-index
error: [20/-1] Cannot checkout to invalid path ‘3/n/nul’
- Here is what I see with verbose. I get this trying to install clippy or rustfmt. I assume I would get it with other crates.Updating registry
- [WayBack]Β IRC Logs for #rust | BotBot.me [o__o] – 2017-04-30 – msg 84953614 – page=19
- [WayBack]Β Whatβs the deal with those reserved filenames like NUL and CON? β The Old New Thing
- The solution:Β [WayBack]Β Reserve windows crate names. by withoutboats Β· Pull Request #695 Β· rust-lang/crates.io
- [WayBack]Β @withoutboats boats β¨ on Twitter: “I thought Rust was supposed to prevent nul errors! ;-)”
BTW: one of my gripes on learning new languages is that they come with a whole new idiom of their ecosystem: rust, cargo, crates, all sound like being a truckΒ mechanic to me.
–jeroen






