Branch: Tag:

2013-10-31

2013-10-31 19:31:00 by Arne Goedeke <el@laramies.com>

sprintf: do not use alloca

This commit replaces alloca in sprintf by a simple heap allocator. This
fixes a stack corruption bug which occurs when using certain compilers
(e.g. msvc). The problem occurs when alloca and longjmp are used from
within the same frame.

169:    module_support.o \    pikecode.o \    object.o \ +  stack_allocator.o \    opcodes.o \    operators.o \    pike_float.o \