• L
    Avoid crash in virBufferEscapeString · 04e06862
    Laine Stump 提交于
    * src/util/buf.c: if virBufferEscapeString was called on a buffer that
      had 0 bytes of space, a size of -1 will be passed to snprintf, resulting
      in a segmentation fault, this preallocate some space.
    04e06862
buf.c 9.2 KB