mirror of
https://github.com/curl/curl.git
synced 2026-07-17 11:47:19 +03:00
curl: proto2num: make sure obuf is inited
Detected by Coverity. CID 1507052. Closes #9096
This commit is contained in:
parent
c5f3c47cbb
commit
127d04aadf
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ ParameterError proto2num(struct OperationConfig *config,
|
|||
char *buffer;
|
||||
const char *sep = ",";
|
||||
char *token;
|
||||
char obuf[256];
|
||||
char obuf[256] = "";
|
||||
size_t olen = sizeof(obuf);
|
||||
char *optr;
|
||||
struct sprotos const *pp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue