Euphoria Ticket #509: Regex backend mishandles pointer

After compiling a regex, the value was converted to an atom, meaning that if it were too big, it would convert to a double. However, when the backend later uses this pointer, it wasn't checking to see if it was a double.

Details

Type: Bug Report Severity: Normal Category: Library Routine
Assigned To: mattlewis Status: Fixed Reported Release:
Fixed in SVN #: 4560, 4561 View VCS: 4560, 4561 Milestone: 4.0.0RC2

1. Comment by mattlewis Dec 06, 2010

So far, apparently only OpenBSD was generating pointers in this range. Updated the code to check for a double and convert to a usable pointer.

2. Comment by jimcbrown Dec 06, 2010

svn:4566 fixes a similar bug in be_socket.c for connect() and bind()

Search



Quick Links

User menu

Not signed in.

Misc Menu