[PATCH v2 4/5] cpukit/libmisc/dumpbuf/dumpbuf.c: Fix undefined behavior for sprintf()

Martin Galvan martin.galvan at tallertechnologies.com
Thu Sep 3 17:10:06 UTC 2015

On Thu, Sep 3, 2015 at 1:21 PM, Joel Sherrill <joel.sherrill at oarcorp.com> wrote:
> One comment. Why is the output buffer now static? I know it
> moves it off the stack but what's the consensus on an 80
> byte array on a stack?

I'm not sure what the consensus is. I briefly discussed this with
Daniel and it's ok with us, but it's really your call.

Is this part of the target binary, or is it a host util? If it runs on
the host, maybe we can consider leaving it in the stack.

More information about the devel mailing list