mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-06-11 09:50:26 -04:00
Fixed format string issue in read_inline_file,
used in the config file parser. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3078 e7ae566f-a301-0410-adde-c780ea21d3b5
This commit is contained in:
parent
6cd276ba3f
commit
de6dbb5fe2
1 changed files with 1 additions and 1 deletions
|
|
@ -2898,7 +2898,7 @@ read_inline_file (struct in_src *is, const char *close_tag, struct gc_arena *gc)
|
|||
{
|
||||
if (!strncmp (line, close_tag, strlen (close_tag)))
|
||||
break;
|
||||
buf_printf (&buf, line);
|
||||
buf_printf (&buf, "%s", line);
|
||||
}
|
||||
ret = string_alloc (BSTR (&buf), gc);
|
||||
buf_clear (&buf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue