|
From: <sv...@va...> - 2015-12-28 22:02:26
|
Author: philippe
Date: Mon Dec 28 22:02:18 2015
New Revision: 15753
Log:
Fix 353660 XML in auxwhat tag not escaping reserved symbols properly
Changed a few %s or %pS into %ps in m_addrinfo.c
(based on code reading matching the pattern given in the bug report,
as there was no reproducer).
Modified:
trunk/NEWS
trunk/coregrind/m_addrinfo.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Mon Dec 28 22:02:18 2015
@@ -45,6 +45,7 @@
353084 arm64 doesn't support sigpending system call
353370 don't advertise RDRAND in cpuid for Core-i7-4910-like avx2 machine
353398 WARNING: unhandled amd64-solaris syscall: 207
+353660 XML in auxwhat tag not escaping reserved symbols properly
353680 s390x: Crash with certain glibc versions due to non-implemented TBEGIN
353891 Assert 'bad_scanned_addr < VG_ROUNDDN(start+len, sizeof(Addr))' failed
353917 unhandled amd64-solaris syscall fchdir(120)
Modified: trunk/coregrind/m_addrinfo.c
==============================================================================
--- trunk/coregrind/m_addrinfo.c (original)
+++ trunk/coregrind/m_addrinfo.c Mon Dec 28 22:02:18 2015
@@ -463,7 +463,7 @@
hasfn = VG_(get_fnname)(ai->Addr.Stack.IP, &fn);
if (hasfn || hasfile)
- VG_(emit)( "%sin frame #%d, created by %s (%s:%s)%s\n",
+ VG_(emit)( "%sin frame #%d, created by %ps (%ps:%s)%s\n",
xpre,
ai->Addr.Stack.frameNo,
hasfn ? fn : "???",
@@ -573,7 +573,7 @@
case Addr_DataSym:
VG_(emit)( "%sAddress 0x%lx is %llu bytes "
- "inside data symbol \"%pS\"%s\n",
+ "inside data symbol \"%ps\"%s\n",
xpre, a,
(ULong)ai->Addr.DataSym.offset,
ai->Addr.DataSym.name,
@@ -595,7 +595,7 @@
break;
case Addr_SectKind:
- VG_(emit)( "%sAddress 0x%lx is in the %pS segment of %pS%s\n",
+ VG_(emit)( "%sAddress 0x%lx is in the %ps segment of %ps%s\n",
xpre, a,
VG_(pp_SectKind)(ai->Addr.SectKind.kind),
ai->Addr.SectKind.objname,
@@ -627,7 +627,7 @@
case Addr_SegmentKind:
VG_(emit)( "%sAddress 0x%lx is in "
- "a %s%s%s %s%s%pS segment%s\n",
+ "a %s%s%s %s%s%ps segment%s\n",
xpre,
a,
ai->Addr.SegmentKind.hasR ? "r" : "-",
|