tario/fastruby — Issue #61: Pointer encoding fails in 32 bits (and possibily in 64 bits)
Author: tario
Created: 2012-01-05 23:33:10+00:00
State: open
Labels: bug, high

This issue may lead to unexpected crashes due page faults.
Test this:

#include "ruby.h"

void Init_testext() {

unsigned int a = 0xbffb7514;
printf("%p\n",a); //
printf("%p\n",FIX2LONG(LONG2FIX(a)));
}