FreeBSD Bugzilla – Attachment 173178 Details for
Bug 211257
net/xmlrpc-c: Fix overflow warning - update to 1.39.10
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn-diff_net_xmlrpc-c
svn-diff_net_xmlrpc-c (text/plain), 3.13 KB, created by
Walter Schwarzenfeld
on 2016-08-01 22:35:01 UTC
(
hide
)
Description:
svn-diff_net_xmlrpc-c
Filename:
MIME Type:
Creator:
Walter Schwarzenfeld
Created:
2016-08-01 22:35:01 UTC
Size:
3.13 KB
patch
obsolete
>Index: files/patch-string_int_h >=================================================================== >--- files/patch-string_int_h (nonexistent) >+++ files/patch-string_int_h (working copy) >@@ -0,0 +1,13 @@ >+--- include/xmlrpc-c/string_int.h.orig 2016-08-01 22:12:28 UTC >++++ include/xmlrpc-c/string_int.h >+@@ -121,8 +121,8 @@ xmlrpc_makePrintableChar(char const inpu >+ (strncpy((A), (B), sizeof(A)), *((A)+sizeof(A)-1) = '\0') >+ #define STRSCMP(A,B) \ >+ (strncmp((A), (B), sizeof(A))) >+-#define STRSCAT(A,B) \ >+- (strncat((A), (B), sizeof(A)-strlen(A)), *((A)+sizeof(A)-1) = '\0') >++#define STRNSCAT(A,B) \ >++ (strncat((A), (B), sizeof(A)-strlen(A)-1), *((A)+sizeof(A)-1) = '\0') >+ >+ /* We could do this, but it works only in GNU C >+ #define SSPRINTF(TARGET, REST...) \ > >Property changes on: files/patch-string_int_h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-xmlrpc_datetime_c >=================================================================== >--- files/patch-xmlrpc_datetime_c (nonexistent) >+++ files/patch-xmlrpc_datetime_c (working copy) >@@ -0,0 +1,11 @@ >+--- src/xmlrpc_datetime.c.orig 2016-08-01 22:11:50 UTC >++++ src/xmlrpc_datetime.c >+@@ -161,7 +161,7 @@ xmlrpc_read_datetime_str(xmlrpc_env * >+ assert(usecs < 1000000); >+ XMLRPC_SNPRINTF(usecString, sizeof(usecString), >+ ".%06u", usecs); >+- STRSCAT(dtString, usecString); >++ STRNSCAT(dtString, usecString); >+ } >+ >+ *stringValueP = strdup(dtString); > >Property changes on: files/patch-xmlrpc_datetime_c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-xmlrpc_serialize_c >=================================================================== >--- files/patch-xmlrpc_serialize_c (nonexistent) >+++ files/patch-xmlrpc_serialize_c (working copy) >@@ -0,0 +1,12 @@ >+--- src/xmlrpc_serialize.c.orig 2016-08-01 22:11:23 UTC >++++ src/xmlrpc_serialize.c >+@@ -305,7 +305,8 @@ serializeDatetime(xmlrpc_env * con >+ assert(valueP->_value.dt.u < 1000000); >+ XMLRPC_SNPRINTF(usecString, sizeof(usecString), ".%06u", >+ valueP->_value.dt.u); >+- STRSCAT(dtString, usecString); >++ STRNSCAT(dtString, usecString); >++ >+ } >+ addString(envP, outputP, dtString); >+ > >Property changes on: files/patch-xmlrpc_serialize_c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 211257
:
173178
|
174313
|
174314