Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 102869 Details for
Bug 156376
net-dialup/gnuradius format string vulnerability (CVE-2006-4181)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sqllog changes
sqllog.patch (text/plain), 822 bytes, created by
Alin Năstac (RETIRED)
on 2006-11-27 14:51:40 UTC
(
hide
)
Description:
sqllog changes
Filename:
MIME Type:
Creator:
Alin Năstac (RETIRED)
Created:
2006-11-27 14:51:40 UTC
Size:
822 bytes
patch
obsolete
>@@ -409,17 +399,15 @@ > /* Interface */ > > #ifdef USE_SQL >-/*PRINTFLIKE2*/ > void >-sqllog(int status, char *msg, ...) >+sqllog(int status, char *query) > { >- va_list ap; > FILE *fp; > char *path; > char *filename; > > filename = status ? "sql-lost" : "sql.log"; >- path = grad_mkfilename(radacct_dir, filename); >+ path = grad_mkfilename(grad_acct_dir, filename); > if ((fp = fopen(path, "a")) == NULL) { > grad_log(L_ERR|L_PERROR, > _("could not append to file %s"), path); >@@ -427,10 +415,7 @@ > return; > } > grad_free(path); >- va_start(ap, msg); >- vfprintf(fp, msg, ap); >- fprintf(fp, ";\n"); >- va_end(ap); >+ fprintf(fp, "%s;\n", query); > fclose(fp); > } > #endif
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 156376
: 102869