Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 85584 Details for
Bug 131341
net-dns/pdnsd < 1.2.4 vulnerable to DoS and possible arbitrary code execution (CVE-2006-207{6|7})
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pdnsd-dbg_file.patch
pdnsd-dbg_file.patch (text/plain), 942 bytes, created by
Thomas Cort (RETIRED)
on 2006-04-26 20:41:24 UTC
(
hide
)
Description:
pdnsd-dbg_file.patch
Filename:
MIME Type:
Creator:
Thomas Cort (RETIRED)
Created:
2006-04-26 20:41:24 UTC
Size:
942 bytes
patch
obsolete
>diff -urN pdnsd-1.2.4.orig/src/main.c pdnsd-1.2.4/src/main.c >--- pdnsd-1.2.4.orig/src/main.c 2006-04-26 23:30:58.000000000 -0400 >+++ pdnsd-1.2.4/src/main.c 2006-04-26 23:31:04.000000000 -0400 >@@ -403,6 +403,7 @@ > } > } > >+ > init_cache(); > { > char *errmsg; >@@ -482,6 +483,15 @@ > > if (!init_rng()) > exit(1); >+#if DEBUG>0 >+ if (debug_p) { >+ char dbgdir[strlen(global.cache_dir)+sizeof("/pdnsd.debug")]; >+ stpcpy(stpcpy(dbgdir,global.cache_dir),"/pdnsd.debug"); >+ if (!(dbg_file=fopen(dbgdir,"w"))) >+ debug_p=0; >+ } >+#endif >+ > #if (TARGET==TARGET_LINUX) > if (!final_init()) > exit(1); >@@ -550,14 +560,6 @@ > dup2(fd,1); > dup2(fd,2); > close(fd); >-#if DEBUG>0 >- if (debug_p) { >- char dbgdir[strlen(global.cache_dir)+sizeof("/pdnsd.debug")]; >- stpcpy(stpcpy(dbgdir,global.cache_dir),"/pdnsd.debug"); >- if (!(dbg_file=fopen(dbgdir,"w"))) >- debug_p=0; >- } >-#endif > } else { > #if DEBUG>0 > dbg_file=stdout;
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
Actions:
View
Attachments on
bug 131341
:
85581
| 85584