diff options
Diffstat (limited to 'libglusterfs/src/common-utils.c')
| -rw-r--r-- | libglusterfs/src/common-utils.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/common-utils.c b/libglusterfs/src/common-utils.c index 47558e76ba4..63cbf13388f 100644 --- a/libglusterfs/src/common-utils.c +++ b/libglusterfs/src/common-utils.c @@ -4332,7 +4332,7 @@ gf_backtrace_fillframes(char *buf)      pos = 0;      for (idx = 0; idx < frames - 2; idx++) { -        ret = fscanf(fp, "%s", callingfn[idx]); +        ret = fscanf(fp, "%1023s", callingfn[idx]);          if (ret == EOF)              break;          inc = gf_backtrace_append(buf, pos, callingfn[idx]);  | 
