Project

General

Profile

« Previous | Next » 

Revision 05cde415

Added by HParker (Adam Hess) about 2 years ago

fix regex from regex memory corruption

before this change, creating a regex from a regex with a named capture, Regexp.new(/(?)/), causes memory to be shared between the two named capture groups which can cause a segfault if the original is GCed.