use signal safe ust_safe_snprintf()
[ust.git] / libust / serialize.c
index 6a8688420369ee073d3ae3fba779ed70d23181e1..8f393ed074d08ad98836db24e39ae729cd0f0122 100644 (file)
@@ -41,6 +41,7 @@
 #include "tracer.h"
 //#include "list.h"
 #include "usterr.h"
+#include "ust_snprintf.h"
 
 enum ltt_type {
        LTT_TYPE_SIGNED_INT,
@@ -808,7 +809,7 @@ int serialize_to_text(char *outbuf, int bufsize, const char *fmt, va_list ap)
                outbuf = &false_buf;
                bufsize = 1;
        }
-       result = vsnprintf(outbuf, bufsize, new_fmt, ap);
+       result = ust_safe_vsnprintf(outbuf, bufsize, new_fmt, ap);
 
        return result;
 }
This page took 0.02189 seconds and 4 git commands to generate.