一个空格引发的惨案--bumblebee事件

一次简单的空格改动在开源项目bumblebee中引发了大规模的问题,导致项目无法正常运行,并在网络上引起广泛讨论。这次事件不仅展示了代码审查的重要性,也揭示了项目稳定性及测试流程中的潜在漏洞。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

bumblebee是一个托管在github的开源项目,最近这个项目代码有一次commit,引起了民工们的轰动,见 https://github.com/MrMEEE/bumblebee/commit/a047be85247755cdbe0acce6#diff-1

真是一个空格引发的惨案。

项目代码的测试,是非常重要的环节,看看package要进入Debian stable的难度,就知道了。至少从这点来看,这个项目做的不够好。


一些评论太搞笑了,摘一点放到这里。

1,where's the 'like' button?

2,Nooo! Everything was faster in 1.4.31! The loads of "-bash: : command not found" were mild annoyance compared to constant runtimes.

3,But this is better than rm -rf / usr/lib/nvidia-current/xorg/xorg :)  -- 评论,现在/没那么好rm -rf了。

4,no more lack of disk space now

5, A company I once worked for had a commercial installer-generator product do this to our product once, for real. I won't mention the name, but it's probably the 2nd most used installer for Windows, an unwise choice for us. If you left an empty row in the list of files to be installed (easy to do), then on uninstalling, it would append that empty path to C:\ and delete everything under that. Yes, that means everything. Luckily it happened to a friend first, who phoned in the middle of the night and we pulled the release and added an urgent warning of the "critical defect" in the third-party installer software... to which the producers responded with threats of defamation lawsuits! Only one other customer got hit and the damage was minimal... but still... -- 这是个真实的案例。。

6,what is that /usr folder and why do I need that? -- 好吧,这是个装纯党。

7,The age of linux viruses has begun.

8,haha ... I should do something similar to my own projects ... maybe I'd get lots of people into the project that way :D.

9,Congrats, you made it to fefe (most popular German hacker blog): http://blog.fefe.de/?ts=b3046878 -- 看热闹不嫌事儿大的主儿。

10,I just realize that, what a funny social network Github is!

还有一堆图片

2011061812243363.jpg

2011061812245827.png

2011061812252755.gif

2011061812254162.png

2011061812244838.png

2011061812241919.jpg

转载于:https://www.cnblogs.com/qsort/archive/2011/06/18/2084178.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值