Dear Mike Frysinger,
In message <[EMAIL PROTECTED]> you wrote:
> When running `strings` on really long strings, the stack tends to get
> smashed due to printf(). Switch to puts() instead since we're only passing
> the data through.
>
> Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
> ---
> c
Mike Frysinger wrote:
> When running `strings` on really long strings, the stack tends to get
> smashed due to printf(). Switch to puts() instead since we're only passing
> the data through.
...which raises the question of why we don't have vsnprintf().
-Scott
___
When running `strings` on really long strings, the stack tends to get
smashed due to printf(). Switch to puts() instead since we're only passing
the data through.
Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
---
common/cmd_strings.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(
3 matches
Mail list logo