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 829781 Details for
Bug 1034824
Assertion failure in nsupdate on certain input
[?]
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]
Fix for memory leak
0001-Fix-memory-leak-in-nsupdate.patch (text/plain), 927 bytes, created by
Tomáš Hozza
on 2013-11-27 15:38:42 UTC
(
hide
)
Description:
Fix for memory leak
Filename:
MIME Type:
Creator:
Tomáš Hozza
Created:
2013-11-27 15:38:42 UTC
Size:
927 bytes
patch
obsolete
>From 2a86eb5fce49f65a2a4a7622ea620ad344396b6f Mon Sep 17 00:00:00 2001 >From: Tomas Hozza <thozza@redhat.com> >Date: Wed, 27 Nov 2013 16:05:03 +0100 >Subject: [PATCH] Fix memory leak in nsupdate > >Fixed memory leak when 'realm' statement is passed >to the nsupdate multiple times. > >Signed-off-by: Tomas Hozza <thozza@redhat.com> >--- > bin/nsupdate/nsupdate.c | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c >index e96c075..1deb844 100644 >--- a/bin/nsupdate/nsupdate.c >+++ b/bin/nsupdate/nsupdate.c >@@ -1540,11 +1540,13 @@ evaluate_realm(char *cmdline) { > char *word; > char buf[1024]; > >+ if (realm != NULL) { >+ isc_mem_free(mctx, realm); >+ realm = NULL; >+ } >+ > word = nsu_strsep(&cmdline, " \t\r\n"); > if (word == NULL || *word == 0) { >- if (realm != NULL) >- isc_mem_free(mctx, realm); >- realm = NULL; > return (STATUS_MORE); > } > >-- >1.8.3.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 1034824
:
829312
| 829781