diff options
-rw-r--r-- | epan/except.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/except.c b/epan/except.c index 103f6e94e2..8181c5d8cd 100644 --- a/epan/except.c +++ b/epan/except.c @@ -307,7 +307,7 @@ void except_throwf(long group, long code, const char *fmt, ...) va_list vl; va_start (vl, fmt); - vsprintf(buf, fmt, vl); + g_vsnprintf(buf, XCEPT_BUFFER_SIZE, fmt, vl); va_end (vl); except_throwd(group, code, buf, buf); } |