summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
AgeCommit message (Collapse)Author
2016-11-24Fix unsafe peephole optimizationFrancis Bogsanyi
Reported by https://hackerone.com/dkasak
2016-11-24Read length after args in String#setbyteCraig Lehmann
Prevents RCE Reported by https://hackerone.com/raydot
2016-11-24Fix calling .arity on Proc with undefined `initialize`Francois Chagnon
Reported by @bouk
2016-11-24Fix segfault caused by empty condition in ternaryBouke van der Bijl
Reported by https://hackerone.com/jpenalbae
2016-11-24Fix codegen issue causing misaligned registerBouke van der Bijl
Reported by https://hackerone.com/haquaman
2016-11-24Fix segfault on method call with exactly 127 argumentsBouke van der Bijl
Reported by https://hackerone.com/dkasak
2016-11-24Fix segfault when defining class inside instance_exec on primitiveBouke van der Bijl
2016-11-24Don't allow array parameter in Struct.newClayton Smith
2016-11-24Remove constant when a struct is redefined.Clayton Smith
2016-11-24Fix nested empty heredoc causing segfaultBouke van der Bijl
As reported by https://hackerone.com/jpenalbae
2016-11-24use MRB_PRId instead of %d for mrb_intYukihiro "Matz" Matsumoto
2016-11-24Merge pull request #3277 from dabroz/feature-float-toleranceYukihiro "Matz" Matsumoto
Fixed float tolerance in tests when MRB_USE_FLOAT is set
2016-11-24redo should work well in for statement; fix #3275Yukihiro "Matz" Matsumoto
2016-11-24Fixed Range.size to use proper floating point toleranceTomasz Dąbrowski
2016-11-24Fixed float tolerance in tests when MRB_USE_FLOAT is setTomasz Dąbrowski
2016-11-24Time#initialize_copy: Check if source time is initialized.Yukihiro "Matz" Matsumoto
To prevent crash from nasty code like: class Time def initialize end end a = Time.new b = Time.new a.initialize_copy b
2016-11-24Merge pull request #3271 from ksss/enum-takeYukihiro "Matz" Matsumoto
Fix Enumeable#take some incompatibility
2016-11-24Relax 'void value expression' check that was too strictYukihiro "Matz" Matsumoto
2016-11-24Shouldn't call `each` method if size is 0ksss
2016-11-24Support object does'n have `<` methodksss
2016-11-24Add "void value expression" check to the parser.Yukihiro "Matz" Matsumoto
2016-11-24Add forgotten loop_pop() in NODE_OP_ASGN codegenYukihiro "Matz" Matsumoto
2016-11-24Fix for Windows-specific mruby C++ issuesTomasz Dąbrowski
2016-11-24Fixes for compiling mruby as C++Tomasz Dąbrowski
2016-11-24Merge pull request #3269 from bouk/fix-printf-segfaultYukihiro "Matz" Matsumoto
Fix segfault when Fixnum#chr doesn't return a string
2016-11-23Fix segfault when Fixnum#chr doesn't return a stringBouke van der Bijl
2016-11-23Fix segfault in Array#sampleBouke van der Bijl
2016-11-23codegen_scope should not keep old iseq ptr from irepYukihiro "Matz" Matsumoto
2016-11-22remove unnecessary ".!"; ref #3261Yukihiro "Matz" Matsumoto
2016-11-21Reimplements Range#firstksss
Range#first shouldn't call `Range#to_a` on infinity range.
2016-11-21Fix for sprintf test exceeding bounds with MRB_INT16Tomasz Dąbrowski
2016-11-21Merge pull request #3257 from ksss/range-sizeYukihiro "Matz" Matsumoto
Fix Range#size results
2016-11-19Use mrb_float instead of doubleksss
2016-11-19Fix Range#size resultsksss
2016-11-17String#{strip,lstrip,rstrip} may cause OOB accessYukihiro "Matz" Matsumoto
2016-11-17Removed mruby-inline-struct gem from default.gembox; ref #3251Yukihiro "Matz" Matsumoto
bundled testing gems do not need to be included in default.gembox. all gems under mrbgems are linked automatically in the test process.
2016-11-17renamed "inline" to "istruct" to represent inline struct; ref #3251Yukihiro "Matz" Matsumoto
2016-11-17inline structures data type for mruby (MRB_TT_INLINE) (fix #3237)Tomasz Dąbrowski
Inline structures have no instance variables, no finalizer, and offer as much space as possible in RBASIC object. This means 24 bytes on 64-bit platforms and 12 bytes on 32-bit platforms. mruby-inline-struct gem is only provided for testing.
2016-11-16Correct argument specifications for few methods:Tomasz Dąbrowski
- Struct#values_at - Module#define_method - String#chop - String#chop!
2016-11-16Fixed memory disclosure in String#linesYukihiro "Matz" Matsumoto
Reported from from Alex Snaps via Mathieu Leduc-Hamel, both from shopify.com. Thank you!
2016-11-16Fixed a memory problem in Array#to_hYukihiro "Matz" Matsumoto
Reported from Alex Snaps via Mathieu Leduc-Hamel, both from shopify.com. Thank you!
2016-11-13rename mruby-module-ext to mruby-class-ext; ref #2470Yukihiro "Matz" Matsumoto
2016-11-13Implement Module#name.take_cheeze
Solves #2132.
2016-11-11do not dump_node if parser failedYukihiro "Matz" Matsumoto
2016-11-11node_dump() to print NODE_HEREDOC terminatorYukihiro "Matz" Matsumoto
2016-11-11HEREDOC could fail with NUL terminated lines; fix#3244Yukihiro "Matz" Matsumoto
2016-11-11Add regression test for Enumerable#cycleksss
2016-11-11Reimplement Enumerable#cycleksss
Fix pattern of infinite loop And support all specs in https://github.com/ruby/spec/blob/27960d06e0ce92c37f074450f0eab4b0519b118c/core/enumerable/cycle_spec.rb without Enumerable#size
2016-11-11fixed a bug when number of LHS and RHS differs; fix #3239Yukihiro "Matz" Matsumoto
2016-11-08fixed a bug with [] in RHS of multiple assignments; fix #3236Yukihiro "Matz" Matsumoto