AtnNn / librethinkdbxx

RethinkDB driver for C++
Other
98 stars 31 forks source link

Allocate buffer on heap to avoid stack overflow #37

Closed adamierymenko closed 7 years ago

adamierymenko commented 7 years ago

If you allocate this buffer on the stack you get a stack overflow on large objects. This is a fix that allocates it on the heap.

AtnNn commented 7 years ago

Thanks