2008-10-17 10:03:15 +00:00
|
|
|
Makefile
|
|
|
|
Makefile.in
|
|
|
|
.deps
|
|
|
|
.libs
|
|
|
|
sexpr2xmltest
|
|
|
|
xml2sexprtest
|
|
|
|
virshtest
|
|
|
|
conftest
|
|
|
|
reconnect
|
|
|
|
xmconfigtest
|
|
|
|
xencapstest
|
|
|
|
qemuxml2xmltest
|
|
|
|
qemuxml2argvtest
|
2009-05-21 14:22:51 +00:00
|
|
|
qemuargv2xmltest
|
2009-06-16 14:06:48 +00:00
|
|
|
qemuhelptest
|
2009-10-09 08:47:43 -04:00
|
|
|
networkxml2xmltest
|
2009-02-24 14:58:32 +00:00
|
|
|
nodedevxml2xmltest
|
2009-07-15 19:50:34 +02:00
|
|
|
interfacexml2xmltest
|
2009-10-09 14:17:21 -04:00
|
|
|
storagevolxml2xmltest
|
2009-10-08 17:26:30 -04:00
|
|
|
storagepoolxml2xmltest
|
2008-10-17 10:03:15 +00:00
|
|
|
nodeinfotest
|
|
|
|
statstest
|
|
|
|
qparamtest
|
buf: Fix possible infinite loop in EscapeString, VSnprintf
The current code will go into an infinite loop if the printf generated
string is >= 1000, AND exactly 1 character smaller than the amount of free
space in the buffer. When this happens, we are dropped into the loop body,
but nothing will actually change, because count == (buf->size - buf->use - 1),
and virBufferGrow returns unchanged if count < (buf->size - buf->use)
Fix this by removing the '- 1' bit from 'size'. The *nprintf functions handle
the NULL byte for us anyways, so we shouldn't need to manually accommodate
for it.
Here's a bug where we are actually hitting this issue:
https://bugzilla.redhat.com/show_bug.cgi?id=602772
v2: Eric's improvements: while -> if (), remove extra va_list variable,
make sure we report buffer error if snprintf fails
v3: Add tests/virbuftest which reproduces the infinite loop before this
patch, works correctly after
2010-09-01 13:51:35 -04:00
|
|
|
virbuftest
|
2009-04-03 10:55:51 +00:00
|
|
|
seclabeltest
|
2009-05-12 16:45:14 +00:00
|
|
|
eventtest
|
2008-10-28 17:47:54 +00:00
|
|
|
*.exe
|
2009-05-19 10:17:17 +00:00
|
|
|
object-locking
|
|
|
|
object-locking.cmi
|
|
|
|
object-locking.cmx
|
|
|
|
object-locking-files.txt
|
2009-09-23 14:25:52 +02:00
|
|
|
esxutilstest
|
|
|
|
vmx2xmltest
|
|
|
|
xml2vmxtest
|
2010-03-31 13:23:07 +02:00
|
|
|
secaatest
|