summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-18 18:57:45 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-18 18:57:45 +0000
commit3d588af3b50749227b6499942d4454f360fdc3bf (patch)
treecc203c98a8afb4de1c3fca020d4bf5ee55a2b39e
parent5285d9763b1680e6344425ec29e3c92e8bfc9b3d (diff)
downloadchromium_src-3d588af3b50749227b6499942d4454f360fdc3bf.zip
chromium_src-3d588af3b50749227b6499942d4454f360fdc3bf.tar.gz
chromium_src-3d588af3b50749227b6499942d4454f360fdc3bf.tar.bz2
Valgrind/Heapchecker: Suppress a WK memory error and a leak in x509 cert code.
BUG=100661,100761 TEST=none TBR=jhawkins Review URL: http://codereview.chromium.org/8343010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106094 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--tools/heapcheck/suppressions.txt18
-rw-r--r--tools/valgrind/memcheck/suppressions.txt53
2 files changed, 71 insertions, 0 deletions
diff --git a/tools/heapcheck/suppressions.txt b/tools/heapcheck/suppressions.txt
index be2532a..8131ff0 100644
--- a/tools/heapcheck/suppressions.txt
+++ b/tools/heapcheck/suppressions.txt
@@ -1630,3 +1630,21 @@
fun:base::Callback::Run
fun:MessageLoop::RunTask
}
+
+{
+ bug_100761a
+ Heapcheck:Leak
+ ...
+ fun:net::X509Certificate::DupOSCertHandle
+ fun:*X509Certificate
+ fun:net::X509Certificate::CreateFromHandle
+ fun:net::X509Certificate::CreateSelfSigned
+}
+{
+ bug_100761b
+ Heapcheck:Leak
+ ...
+ fun:*CreateCertificate
+ fun:net::x509_util::CreateSelfSignedCert
+ fun:net::X509Certificate::CreateSelfSigned
+}
diff --git a/tools/valgrind/memcheck/suppressions.txt b/tools/valgrind/memcheck/suppressions.txt
index 9521933..57b1ab0 100644
--- a/tools/valgrind/memcheck/suppressions.txt
+++ b/tools/valgrind/memcheck/suppressions.txt
@@ -4755,6 +4755,59 @@
fun:_ZN10URLFetcher4Core29InformDelegateFetchIsCompleteEv
fun:_ZN10URLFetcher4Core21OnCompletedURLRequestEN4base9TimeDeltaE
}
+{
+ bug_100661
+ Memcheck:Cond
+ fun:_ZN7WebCoreL28setHasDirAutoFlagRecursivelyEPNS_4NodeEbS1_
+ fun:_ZN7WebCore11HTMLElement32calculateAndAdjustDirectionalityEv
+ fun:_ZN7WebCore19HTMLTextAreaElement17subtreeHasChangedEv
+ fun:_ZN7WebCore26HTMLTextFormControlElement19defaultEventHandlerEPNS_5EventE
+ fun:_ZN7WebCore19HTMLTextAreaElement19defaultEventHandlerEPNS_5EventE
+ fun:_ZN7WebCore27TextControlInnerTextElement19defaultEventHandlerEPNS_5EventE
+ fun:_ZN7WebCore15EventDispatcher13dispatchEventEN3WTF10PassRefPtrINS_5EventEEE
+ fun:_ZNK7WebCore21EventDispatchMediator13dispatchEventEPNS_15EventDispatcherE
+ fun:_ZN7WebCore15EventDispatcher13dispatchEventEPNS_4NodeEN3WTF10PassRefPtrINS_21EventDispatchMediatorEEE
+ fun:_ZN7WebCore4Node13dispatchEventEN3WTF10PassRefPtrINS_5EventEEE
+ fun:_ZN7WebCore11EventTarget13dispatchEventEN3WTF10PassRefPtrINS_5EventEEERi
+ fun:_ZN7WebCoreL36dispatchEditableContentChangedEventsERKNS_11EditCommandE
+ fun:_ZN7WebCore6Editor14appliedEditingEN3WTF10PassRefPtrINS_11EditCommandEEE
+ fun:_ZN7WebCore13TypingCommand24typingAddedToOpenCommandENS0_14ETypingCommandE
+ fun:_ZN7WebCore13TypingCommand16deleteKeyPressedENS_15TextGranularityEb
+ fun:_ZN7WebCore13TypingCommand7doApplyEv
+ fun:_ZN7WebCore11EditCommand5applyEv
+ fun:_ZN7WebCore13TypingCommand16deleteKeyPressedEPNS_8DocumentEjNS_15TextGranularityE
+ fun:_ZN7WebCore6Editor19deleteWithDirectionENS_18SelectionDirectionENS_15TextGranularityEbb
+ fun:_ZN7WebCoreL20executeDeleteForwardEPNS_5FrameEPNS_5EventENS_19EditorCommandSourceERKN3WTF6StringE
+ fun:_ZNK7WebCore6Editor7Command7executeERKN3WTF6StringEPNS_5EventE
+ fun:_ZNK7WebCore6Editor7Command7executeEPNS_5EventE
+}
+{
+ bug_100761a
+ Memcheck:Leak
+ fun:calloc
+ fun:PR_Calloc
+ fun:nss_ZAlloc
+ fun:nssArena_Create
+ fun:NSSArena_Create
+ fun:STAN_GetNSSCertificate
+ fun:CERT_DupCertificate
+ fun:_ZN3net15X509Certificate15DupOSCertHandleEP18CERTCertificateStr
+ fun:_ZN3net15X509CertificateC1EP18CERTCertificateStrRKSt6vectorIS2_SaIS2_EE
+ fun:_ZN3net15X509Certificate16CreateFromHandleEP18CERTCertificateStrRKSt6vectorIS2_SaIS2_EE
+ fun:_ZN3net15X509Certificate16CreateSelfSignedEPN6crypto13RSAPrivateKeyERKSsjN4base9TimeDeltaE
+}
+{
+ bug_100761b
+ Memcheck:Leak
+ fun:calloc
+ fun:PR_Calloc
+ fun:PORT_ZAlloc_Util
+ fun:PORT_NewArena_Util
+ fun:CERT_CreateCertificate
+ fun:_ZN12_GLOBAL__N_117CreateCertificateEP18SECKEYPublicKeyStrRKSsjN4base9TimeDeltaE
+ fun:_ZN3net9x509_util20CreateSelfSignedCertEP18SECKEYPublicKeyStrP19SECKEYPrivateKeyStrRKSsjN4base9TimeDeltaE
+ fun:_ZN3net15X509Certificate16CreateSelfSignedEPN6crypto13RSAPrivateKeyERKSsjN4base9TimeDeltaE
+}
#-----------------------------------------------------------------------
# 4. These only occur on our Google workstations