TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ruby Security Patches Lead to Segfaults

15 pointsby cbryanalmost 17 years ago

4 comments

throttlealmost 17 years ago
...which further proves my point that Ruby is a bad, bad platform choice for production applications right now. You just can't have this level of insecurity, sloppiness, and unresponsiveness among the developers in a platform you would use for serious applications. Maybe one day Ruby, Rails, et al. will be ready for prime time, but it's just not now, IMO.<p>update: by Ruby I mean the standard Matz codebase.
评论 #227910 未加载
评论 #228326 未加载
评论 #228116 未加载
评论 #228322 未加载
评论 #228088 未加载
jeyalmost 17 years ago
"Ruby Enterprise Edition" has a copy of the relevant patch here: <a href="http://blog.phusion.nl/assets/r8ee-security-patch-20080623.txt" rel="nofollow">http://blog.phusion.nl/assets/r8ee-security-patch-20080623.t...</a><p>[from a quick skim of the patch:] The changes to array.c and string.c look pretty worrying, seems like there are unchecked error conditions that aren't too hard to exploit, possibly allowing buffer overflows in String.... e.g. any code where the attacker could specify the right-hand-side argument to the in-place string concatenation operators (String#concat and String#&#60;&#60;) may be affected. Most string concatenations probably aren't in-place (using String#+ instead), but there's probably at least a handful of in-place string concats in popular packages like Rails.
ROFISHalmost 17 years ago
The "Ruby Enterprise Edition" team has backported their patches too.<p>Watch out if you have a non-standard directory though. For some strange reason --with-prefix= didn't work for me and I had to manually change the prefix in the configure script.
Tichyalmost 17 years ago
Could anybody summarize: is it possible to use Ruby now or not?
评论 #228686 未加载