3 ms·
Is that really much of a problem? I can't remember the last time I had a download fail part the way through and they are usually much bigger than a bootstrappin
by tonyedgecombe 7y ago
Is that really much of a problem? I can't remember the last time I had a download fail part the way through and they are usually much bigger than a bootstrapping script.
- LIV2 7y agoI mean it's unlikely but imagine it did happen and something in the script like "rm -rf /some/path" gets truncated to "rm -rf /" & immediately run Even if your connection is TLS secured an MITM attack of causing a connection reset after X bytes could be a viable attack
- Carpetsmoker 7y agoAs was pointed out both in the article and the comments here, this is easily addressed by wrapping everything in a function (or subshell, for that matter).