Replace sprintf by snprintf in http_WriteHttpPost

Replace sprintf by snprintf in http_WriteHttpPost to avoid buffer
overflow.

(Forwar port of commit a04c36f47ef192e19fe89f095066e71619b3051c)
This commit is contained in:
Fabrice Fontaine 2012-03-18 16:14:41 +01:00 committed by Marcelo Roberto Jimenez
parent 1aecc6c44f
commit bc1e797e95

View File

@ -318,6 +318,13 @@ Version 1.8.0
Version 1.6.16
*******************************************************************************
2012-03-18 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
Replace sprintf by snprintf in http_WriteHttpPost
Replace sprintf by snprintf in http_WriteHttpPost to avoid buffer
overflow.
2012-03-18 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
Add infoSize parameter to get_sdk_info