Mageia Bugzilla – Attachment 4233 Details for
Bug 10867
Openswan version in mageia is 11 point revisions out of date.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Altered patch 1
openswan-2.6.39-format_not_a_string_literal_and_no_format_arguments.diff (text/plain), 1.08 KB, created by
Patrick Hibbs
on 2013-08-01 02:14:27 CEST
(
hide
)
Description:
Altered patch 1
Filename:
MIME Type:
Creator:
Patrick Hibbs
Created:
2013-08-01 02:14:27 CEST
Size:
1.08 KB
patch
obsolete
>--- lib/libisc/mem.c 2009-03-30 15:11:28.000000000 +0200 >+++ lib/libisc/mem.c.oden 2009-03-31 13:23:29.000000000 +0200 >@@ -1099,7 +1099,7 @@ print_active(isc_mem_t *mctx, FILE *out) > const char *format; > isc_boolean_t found; > >- fprintf(out, isc_msgcat_get(isc_msgcat, ISC_MSGSET_MEM, >+ fprintf(out, "%s", isc_msgcat_get(isc_msgcat, ISC_MSGSET_MEM, > ISC_MSG_DUMPALLOC, > "Dump of all outstanding " > "memory allocations:\n")); >@@ -1125,7 +1125,7 @@ print_active(isc_mem_t *mctx, FILE *out) > } > } > if (!found) >- fprintf(out, isc_msgcat_get(isc_msgcat, ISC_MSGSET_MEM, >+ fprintf(out, "%s", isc_msgcat_get(isc_msgcat, ISC_MSGSET_MEM, > ISC_MSG_NONE, "\tNone.\n")); > } > } >@@ -1168,7 +1168,7 @@ isc_mem_stats(isc_mem_t *ctx, FILE *out) > */ > pool = ISC_LIST_HEAD(ctx->pools); > if (pool != NULL) { >- fprintf(out, isc_msgcat_get(isc_msgcat, ISC_MSGSET_MEM, >+ fprintf(out, "%s", isc_msgcat_get(isc_msgcat, ISC_MSGSET_MEM, > ISC_MSG_POOLSTATS, > "[Pool statistics]\n")); > fprintf(out, "%15s %10s %10s %10s %10s %10s %10s %10s %1s\n", >
--- lib/libisc/mem.c 2009-03-30 15:11:28.000000000 +0200 +++ lib/libisc/mem.c.oden 2009-03-31 13:23:29.000000000 +0200 @@ -1099,7 +1099,7 @@ print_active(isc_mem_t *mctx, FILE *out) const char *format; isc_boolean_t found; - fprintf(out, isc_msgcat_get(isc_msgcat, ISC_MSGSET_MEM, + fprintf(out, "%s", isc_msgcat_get(isc_msgcat, ISC_MSGSET_MEM, ISC_MSG_DUMPALLOC, "Dump of all outstanding " "memory allocations:\n")); @@ -1125,7 +1125,7 @@ print_active(isc_mem_t *mctx, FILE *out) } } if (!found) - fprintf(out, isc_msgcat_get(isc_msgcat, ISC_MSGSET_MEM, + fprintf(out, "%s", isc_msgcat_get(isc_msgcat, ISC_MSGSET_MEM, ISC_MSG_NONE, "\tNone.\n")); } } @@ -1168,7 +1168,7 @@ isc_mem_stats(isc_mem_t *ctx, FILE *out) */ pool = ISC_LIST_HEAD(ctx->pools); if (pool != NULL) { - fprintf(out, isc_msgcat_get(isc_msgcat, ISC_MSGSET_MEM, + fprintf(out, "%s", isc_msgcat_get(isc_msgcat, ISC_MSGSET_MEM, ISC_MSG_POOLSTATS, "[Pool statistics]\n")); fprintf(out, "%15s %10s %10s %10s %10s %10s %10s %10s %1s\n",
View Attachment As Raw
Actions:
View
Attachments on
bug 10867
:
4232
| 4233