You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
calloc sometimes fails to allocate memory (OOM???) and returns null.
I've changed allocCache() function so that it would not perform any allocations and just return null all the time. The example code at README.md failed immediately (segmentation fault) after that. Briefly looking through this project's code, it seems like you don't check this null value anywhere.
Is it intentional or a genuine issue?
The text was updated successfully, but these errors were encountered:
So, you have an allocCache() function in
generator.c
, which calls calloc:calloc
sometimes fails to allocate memory (OOM???) and returnsnull
.I've changed
allocCache()
function so that it would not perform any allocations and just returnnull
all the time. The example code at README.md failed immediately (segmentation fault) after that. Briefly looking through this project's code, it seems like you don't check thisnull
value anywhere.Is it intentional or a genuine issue?
The text was updated successfully, but these errors were encountered: