Issue #13234 has been updated by Kamil Frankowicz.


Shyouhei Urabe wrote:
> Kamil Frankowicz wrote:
> > After some fuzz testing I found a crashing test case.
> 
> Great...  I can reproduce this.  Not sure if this is an "infinite" recursion or just too deep to run on my machine, though.
> 
> Do you run a fuzz test for ruby or for your project?  If this is something disclosable please do so, because currently ruby lacks such thing.

I fuzz ruby (in this case miniruby binary) with American Fuzzy Lop fuzzer (http://lcamtuf.coredump.cx/afl/). My testing corpus contains files from various open source projects written in ruby. It's all :-)


----------------------------------------
Bug #13234: Infinite recursion (stack overflow) in parse_char_class()
https://bugs.ruby-lang.org/issues/13234#change-63050

* Author: Kamil Frankowicz
* Status: Closed
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: 
* Backport: 2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED
----------------------------------------
After some fuzz testing I found a crashing test case.

Git HEAD: fbd5cda6aad6db01bbca3d893a9970314a1bd52c

To reproduce: miniruby ruby_so_parse_char_class

Error log: bug-13234.log


---Files--------------------------------
ruby_so_parse_char_class (4 KB)
bug-13234.log (82.3 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>