Unintentional file creation caused by inserting...
ruby-lang.org
12 Oct '12, 12pm
Unintentional file creation caused by inserting a illegal NUL character A vulnerability was found that file creation routi...
p File.exists?("foo") #=> false open("foo\0bar", "w") { |f| f.puts "hai" } p File.exists?("foo") #=> true p File.exists?("foo\0bar") #=> raises ArgumentError
Full article: http://www.ruby-lang.org/ja/news/2012/10/12/poisoned-NUL-...
@mokemokechicken
»
13 Oct '12, 12am
Unintentional file creation caused by inserting a illegal NUL character A vulnerability was found that file creation routi...