Revision 93a20c0...

Go back to digest for 11th March 2012

Other in Office

Robert Mathias Marmorstein committed changes in [koffice] filters/kword/msword-odf/wv2/src/headers.cpp:

Remove VLA (variable length array) and use heap allocation instead

clang doesn't compile with VLAs, which are part of C99, but not
C++ standard compliant. Allocating on the heap is (very) slightly
more expensive, but can prevent runaway stack arguments from
exhausting the amount of available stack memory.

File Changes

Modified 1 files
  • filters/kword/msword-odf/wv2/src/headers.cpp
1 files changed in total