xdenser / node-firebird-libfbclient

Firebird SQL binding
MIT License
82 stars 34 forks source link

Multieventcont #72

Closed jacobalberty closed 7 years ago

jacobalberty commented 7 years ago

This appears to completely fix #70 .

It was using memcpy to strip out the events in the middle of event_buffer and result_buffer, but since it was moving overlapping src and dests this caused... undefined behavior leading to crashes. swapped out to memmove as per memcpy(3) man page and now the more complex add and remove test passes.