summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2016-12-03Merge pull request #3321 from clayton-shopify/fix-proc-crash-upstreamYukihiro "Matz" Matsumoto
Fix segfault in mrb_proc_copy.
2016-12-02Fix segfault in mrb_proc_copy.Clayton Smith
2016-12-01Fix more integer overflows.Clayton Smith
2016-12-01Fix compile error by #3309Yukihiro "Matz" Matsumoto
2016-11-30Prevent array size calculation overflows.Clayton Smith
2016-11-30Prohibit instantiation of immediate objectsYukihiro "Matz" Matsumoto
2016-11-30Merge pull request #3278 from bouk/dup-classYukihiro "Matz" Matsumoto
Copy over INSTANCE_TT when duping class
2016-11-30check ttype before object allocation; fix #3294Yukihiro "Matz" Matsumoto
2016-11-29Use size_t to calculate bytes needed for array.Clayton Smith
2016-11-29ary_concat: support self concatenation; fix #3302Yukihiro "Matz" Matsumoto
2016-11-28pre-allocate arena overflow errorYukihiro "Matz" Matsumoto
2016-11-27Added Exception check in mrb_exc_set(); close #3292Yukihiro "Matz" Matsumoto
PR #3293 just checks for NoMethodError.
2016-11-25Merge pull request #3287 from bouk/proc-arityYukihiro "Matz" Matsumoto
Fix calling .arity on Proc with undefined `initialize`
2016-11-25Merge pull request #3284 from bouk/remove-method-segfaultYukihiro "Matz" Matsumoto
Fix segfault on remove_method with invalid argument
2016-11-25Merge pull request #3282 from bouk/fix-break-instance-classYukihiro "Matz" Matsumoto
Fix segfault when defining class inside instance_exec on primitive
2016-11-24Get String length after args in String#chomp!Clayton Smith
Fixes RCE issue Reported by @bouk
2016-11-24Fix calling .arity on Proc with undefined `initialize`Francois Chagnon
Reported by @bouk
2016-11-24Fix segfault on remove_method with invalid argumentBouke van der Bijl
Reported by https://hackerone.com/jpenalbae
2016-11-24Fix segfault when defining class inside instance_exec on primitiveBouke van der Bijl
2016-11-24Copy over INSTANCE_TT when duping classBouke van der Bijl
2016-11-24fixed a bug in self modifying Array#[]=; fix #3274Yukihiro "Matz" Matsumoto
2016-11-24always call Hash#default if no key found; fix #3272Yukihiro "Matz" Matsumoto
2016-11-24Add pointer casting from mrb_malloc(); ref #3267Yukihiro "Matz" Matsumoto
2016-11-24Avoid casting from int to unsigned char for C++; ref #3267Yukihiro "Matz" Matsumoto
2016-11-24Add constant export declaration for MRBC output compiled as C++Tomasz Dąbrowski
Otherwise, C++ compilers will skip this constant when producing object files.
2016-11-24Fixes for compiling mruby as C++Tomasz Dąbrowski
2016-11-23local_variables() should not touch unshared envYukihiro "Matz" Matsumoto
2016-11-23Implement Float shift methods in CYukihiro "Matz" Matsumoto
2016-11-22int64_value(): use FIXABLE()Yukihiro "Matz" Matsumoto
2016-11-22accept floats as bit operator operands; fix #3260Yukihiro "Matz" Matsumoto
2016-11-22Removed fix_shift_get_width()Yukihiro "Matz" Matsumoto
Fixnum is usually big enough for shift width.
2016-11-22add bit operators ~,&,|,^ to Float class (mruby special)Yukihiro "Matz" Matsumoto
2016-11-18Range#include?: simplify condition; ref #3255Yukihiro "Matz" Matsumoto
2016-11-18Merge pull request #3255 from ksss/range-includeYukihiro "Matz" Matsumoto
Fix condition of Range#include?
2016-11-18Fix condition of Range#include?ksss
2016-11-17String#include? does not take integersYukihiro "Matz" Matsumoto
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-17Merge pull request #3253 from ksss/rangeYukihiro "Matz" Matsumoto
Ranges should not rewrite
2016-11-17Ranges should not rewriteksss
2016-11-16Correct argument specifications for few methods:Tomasz Dąbrowski
- Struct#values_at - Module#define_method - String#chop - String#chop!
2016-11-16Fixed rindex calling into mrb_equal bugYukihiro "Matz" Matsumoto
Fixed by Alex Snaps and reported by 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-15class/module statement should re-open; fix #3225Yukihiro "Matz" Matsumoto
2016-11-13move mrb_str_dup() to mrb_class_path; ref #2470Yukihiro "Matz" Matsumoto
Class#to_s used to return same string repeatedly, that mean you can modify "class name" by modifying the return value from Class#to_s.
2016-11-12Hash#[] to call Hash#defaultYukihiro "Matz" Matsumoto
2016-11-11Merge pull request #3224 from ksss/define_methodYukihiro "Matz" Matsumoto
Module#define_method supports proc argument
2016-11-10Merge branch 'mrb.class_under_defined'Felix Jones
2016-11-10Renamed class_under_defined to class_defined_underFelix Jones
2016-11-08class variables in higher order have a priority; fix #3235Yukihiro "Matz" Matsumoto