Skip to content

Also allocate terminating element.

Guido Falsi requested to merge (removed):Fix_small_allocation into master

On FreeBSD crashes have been experienced. Allocating only one element does not provide the final null one to end the list and causes access to unallocated memory.

Reported and patch provided by: Andrea Venturoli ml@netfence.it

Merge request reports