diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2013-11-27 15:16:09 +0100 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2013-11-27 15:16:09 +0100 |
commit | 2d76b4d81e7afc91c4d5d56c4f388e4a1e26b01d (patch) | |
tree | f750cb75ce9bf1d48e8e072dd9af4dc6be88f716 /util/grub-mkconfig.in | |
parent | 4f9541226ccdda1beca805e1bec6c0cbaa485562 (diff) |
Eliminate variable length arrays in grub_vsnprintf_real.
A bit tricky because this function has to continue to work without
heap for short strings. Fixing prealloc to 32 arguments is reasonable
but make all stack references use 32-bit offset rather than 8-bit one.
So split va_args preparsing to separate function and put the prealloc
into the caller.
Diffstat (limited to 'util/grub-mkconfig.in')
0 files changed, 0 insertions, 0 deletions