The Samba-Bugzilla – Attachment 10083 Details for
Bug 10699
fix double-free in get_print_db_byname
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git am -3 can apply this cleanly from 3.0.0 to master :-)
look (text/plain), 930 bytes, created by
Volker Lendecke
on 2014-07-08 12:45:32 UTC
(
hide
)
Description:
git am -3 can apply this cleanly from 3.0.0 to master :-)
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2014-07-08 12:45:32 UTC
Size:
930 bytes
patch
obsolete
>From 3dd4e7dabdf991868b35421f188cb3b56231c3ce Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Tue, 8 Jul 2014 14:30:54 +0200 >Subject: [PATCH] smbd: Avoid double-free in get_print_db_byname > >Signed-off-by: Volker Lendecke <vl@samba.org> >--- > source3/printing/printing_db.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/source3/printing/printing_db.c b/source3/printing/printing_db.c >index ecb8ff6..b721317 100644 >--- a/source3/printing/printing_db.c >+++ b/source3/printing/printing_db.c >@@ -65,9 +65,9 @@ struct tdb_print_db *get_print_db_byname(const char *printername) > if (p->ref_count) > continue; > if (p->tdb) { >- if (tdb_close(print_db_head->tdb)) { >+ if (tdb_close(p->tdb)) { > DEBUG(0,("get_print_db: Failed to close tdb for printer %s\n", >- print_db_head->printer_name )); >+ p->printer_name )); > return NULL; > } > } >-- >1.7.9.5 >
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 Raw
Flags:
ddiss
:
review+
Actions:
View
Attachments on
bug 10699
: 10083