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

[libvirt] [PATCHv2 0/5] Strip control codes from virBufferEscapeString



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


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