Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 308715 Details for
Bug 449382
openswan segv using RSA PKIX (x.509) mode
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
don't spam logs with alloc_bytes1() warnings
347543d076a1102faff2ef25c2c0716f628c6d6b.patch (text/plain), 754 bytes, created by
Paul Wouters
on 2008-06-09 16:29:52 UTC
(
hide
)
Description:
don't spam logs with alloc_bytes1() warnings
Filename:
MIME Type:
Creator:
Paul Wouters
Created:
2008-06-09 16:29:52 UTC
Size:
754 bytes
patch
obsolete
>commit 347543d076a1102faff2ef25c2c0716f628c6d6b >Author: Paul Wouters <paul@xelerance.com> >Date: Fri Jun 6 13:38:35 2008 -0400 > > only display text "alloc_bytes1() was mistakenly asked to malloc 0 bytes" > when LEAK_DETECTIVE is set to avoid spamming production systems. > >diff --git a/lib/libopenswan/alloc.c b/lib/libopenswan/alloc.c >index 61b7b21..ec9f11e 100644 >--- a/lib/libopenswan/alloc.c >+++ b/lib/libopenswan/alloc.c >@@ -87,7 +87,9 @@ void *alloc_bytes1(size_t size, const char *name, int leak_detective) > > if(size == 0) { > /* uclibc returns NULL on malloc(0) */ >+#ifdef LEAK_DETECTIVE > openswan_log("alloc_bytes1() was mistakenly asked to malloc 0 bytes for %s, please report to dev@openswan.org",name); >+#endif > size = 1; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 449382
:
308365
|
308711
|
308714
|
308715
|
308716
|
308717
|
308720
|
308729
|
308732