TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Strstr in libc was broken for some inputs (2010)
5 points
by
antichaos
over 14 years ago
1 comment
tptacek
over 14 years ago
Collapse
If you're not a C programmer, this is pretty close to "abcdef".index("cd") not returing 2 in Python or Ruby (strstr is a heavily optimized function, which is how this happened).
评论 #1769780 未加载