Skip to content

R patch for strsplit

1 message · Jean Meloche

#
This is a multi-part message in MIME format.
--------------031DBBD5368F0FEAFF79DE0C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

R core dumps when strsplit-ing long strings:
Bus Error (core dumped)

The attached patch fixes the problem in strsplit
by mallocating a short lived buffer of the right
size.