summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2017-01-02add explicit castsYukihiro "Matz" Matsumoto
2017-01-02use size_t instead of intYukihiro "Matz" Matsumoto
2017-01-02Merge pull request #3367 from ksss/str-modifyYukihiro "Matz" Matsumoto
Fix segv on str_buf_cat
2017-01-02Fix memory error on str_buf_catksss
Modify from nofree to embed string
2017-01-02Small refactoring: should use RSTR_CAPAksss
2017-01-01Initialize potentially uninitialized variable tsec.Yukihiro "Matz" Matsumoto
2017-01-01Initialize potentially uninitialized variable zYukihiro "Matz" Matsumoto
2016-12-31str_buf_cat(): better size check added; ref #3342Yukihiro "Matz" Matsumoto
2016-12-31str_buf_cat(): should allocate at least RSTRING_EMBED_LEN_MAX+1.Yukihiro "Matz" Matsumoto
2016-12-31ary_expand_capa(): refine conditions to avoid infinite loop; ref #3353Yukihiro "Matz" Matsumoto
2016-12-31ary_expand_capa(): size calculation by size_t; fix #3353Yukihiro "Matz" Matsumoto
Also more size checks added.
2016-12-30method_missing() may have CALL_MAXARGS-1 arguments; fix #3351Yukihiro "Matz" Matsumoto
The issue was reported by https://hackerone.com/ston3
2016-12-28save/restore arena index around yield; ref #3359Yukihiro "Matz" Matsumoto
2016-12-28Merge pull request #3366 from ksss/spliceYukihiro "Matz" Matsumoto
Check array max size
2016-12-27Check array max sizeksss
Fix #3354
2016-12-26Merge pull request #3365 from ksss/freezeYukihiro "Matz" Matsumoto
Fix segv when primitive value
2016-12-26Merge pull request #72 from masahino/add_pointer_castingTomoyuki Sahara
Add pointer casting
2016-12-25Fix segv when primitive valueksss
Fix #3352
2016-12-25Merge pull request #3364 from ksss/string2Yukihiro "Matz" Matsumoto
Check overflow string length
2016-12-25Merge pull request #3363 from ksss/stringYukihiro "Matz" Matsumoto
Do nothing when empty string
2016-12-24Add pointer castingmasahino
2016-12-23Check overflow string lengthksss
Fix #3360
2016-12-23Do nothing when empty stringksss
Fix #3361
2016-12-22Should call initialize method if definedksss
2016-12-21One less argument for raisef(); fix #3355Yukihiro "Matz" Matsumoto
This issue was reported by https://hackerone.com/mg36
2016-12-21Proc shouldn't have `initialize` methodksss
Fix #3356
2016-12-21Merge pull request #3358 from takjn/add-example-rx630Yukihiro "Matz" Matsumoto
Added example for cross-compiling on Renesas RX630
2016-12-21Added example for cross-compiling for Renesas RX630Jun Takeda
2016-12-19Merge pull request #71 from eagletmt/readlinkTomoyuki Sahara
Add File.readlink
2016-12-18Check if width is zero or negative before fill; fix #3347Yukihiro "Matz" Matsumoto
Reported by https://hackerone.com/haquaman.
2016-12-18Prohibit mixture of posarg and nextarg; ref #3347Yukihiro "Matz" Matsumoto
2016-12-18Add "not reached" mark in mrb_ary_concat()Yukihiro "Matz" Matsumoto
2016-12-18NODE_NEGATE cdr may not be code-node; fix #3348 ref #3324Yukihiro "Matz" Matsumoto
Reported by Denis Kasak https://hackerone.com/dkasak
2016-12-18Zero length heredoc still crashed; ref Shopify/mruby-internal#81Yukihiro "Matz" Matsumoto
2016-12-17Fix memory leak in error caseKohei Suzuki
2016-12-17Add File.readlinkKohei Suzuki
2016-12-17Merge pull request #3346 from clayton-shopify/fix-float-readYukihiro "Matz" Matsumoto
Fix crash when exponent is -2147483648
2016-12-16Merge pull request #70 from eagletmt/chmodTomoyuki Sahara
Add File.chmod
2016-12-16Add File.chmodKohei Suzuki
2016-12-15Fix crash when exponent is -2147483648Clayton Smith
2016-12-14remove debug code; ref #3344Yukihiro "Matz" Matsumoto
2016-12-14Merge pull request #3345 from clayton-shopify/fix-range-beg-lenYukihiro "Matz" Matsumoto
Check type before calling mrb_range_ptr.
2016-12-13Check type before calling mrb_range_ptr.Clayton Smith
2016-12-13tLABEL should not come after conditional ternary; fix #3344Yukihiro "Matz" Matsumoto
2016-12-13Restore callinfo offset in mrb_yield_with_class()Yukihiro "Matz" Matsumoto
2016-12-13void_expr_error(): n may be NULL.Yukihiro "Matz" Matsumoto
Reported from @clayton-shopify.
2016-12-13Add assertion to make sure new capacity does not overflow.Yukihiro "Matz" Matsumoto
2016-12-13Make sure str->capa is under MRB_INT_MAX; fix #3342Yukihiro "Matz" Matsumoto
2016-12-13Fixed wrong condition in new_sym() that breaks symbol data.Yukihiro "Matz" Matsumoto
2016-12-13Failed to realloc irep->syms in certain condition.Yukihiro "Matz" Matsumoto
Also msym size changed to 512 from 256.