Euphoria
Ticket #509:
Regex backend mishandles pointer
-
Reported by
mattlewis
Dec 06, 2010
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
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()