From 4a0417f00bae994ddcc9946927f199b66a8a533b Mon Sep 17 00:00:00 2001 From: hniksic Date: Fri, 8 Jul 2005 00:36:59 -0700 Subject: [PATCH] [svn] Doc update. --- src/utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils.c b/src/utils.c index b79c8dcd..2a88158d 100644 --- a/src/utils.c +++ b/src/utils.c @@ -175,6 +175,9 @@ aprintf (const char *fmt, ...) int size = 32; char *str = xmalloc (size); + /* #### This code will infloop and eventually abort in xrealloc if + passed a FMT that causes snprintf to consistently return -1. */ + while (1) { int n; -- 2.39.2