• E
    buf: protect against integer overflow · 4a27eb13
    Eric Blake 提交于
    It's unlikely that we'll ever want to escape a string as long as
    INT_MAX/6, but adding this check can't hurt.
    
    * src/util/buf.c (virBufferEscapeSexpr, virBufferEscapeString):
    Check for (unlikely) overflow.
    4a27eb13
buf.c 10.9 KB