[PATCHv2 0/5] Strip control codes from virBufferEscapeString

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For
https://bugzilla.redhat.com/show_bug.cgi?id=1184131
https://bugzilla.redhat.com/show_bug.cgi?id=1066564

v1: https://www.redhat.com/archives/libvir-list/2015-March/msg01529.html
v2:
 * added patches 1-4 that should prevent us from calling
   virBufferEscapeString with control codes
 * patch 5 is unchanged

Ján Tomko (5):
  tests: rename testStripIPv6BracketsData to testStripData
  Add functions dealing with control characters in strings
  Strip control characters from sysfs attributes
  Ignore storage volumes with control codes in their names
  Strip control codes in virBufferEscapeString

 src/libvirt_private.syms           |  2 ++
 src/node_device/node_device_udev.c |  2 ++
 src/storage/storage_backend_fs.c   |  6 +++++
 src/util/virbuffer.c               | 14 ++++++++---
 src/util/virstring.c               | 39 ++++++++++++++++++++++++++++++
 src/util/virstring.h               |  2 ++
 tests/virbuftest.c                 | 49 ++++++++++++++++++++++++++++++++++++++
 tests/virstringtest.c              | 45 +++++++++++++++++++++++++++++++---
 8 files changed, 153 insertions(+), 6 deletions(-)

-- 
2.0.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]