A segmentation fault took place inside of the do_oracle adapter while converting a Time object into a DateTime one. A long int value was given to the DateTime constructor rather then the proper ruby data structure. This caused the underlying ruby code to access a wrong portion of memory. The ruby vm
crashed inside of the offset_to_sec function (ext/date/date_core.c:2304).
A segmentation fault took place inside of the do_oracle adapter while converting a
Time
object into aDateTime
one. A long int value was given to theDateTime
constructor rather then the proper ruby data structure. This caused the underlying ruby code to access a wrong portion of memory. The ruby vm crashed inside of theoffset_to_sec
function (ext/date/date_core.c:2304
).This fix has been tested with ruby 1.9.3p194.