diff options
| author | Sergey Kartashoff <gluke@php.net> | 2001-06-25 11:36:42 +0000 |
|---|---|---|
| committer | Sergey Kartashoff <gluke@php.net> | 2001-06-25 11:36:42 +0000 |
| commit | 0f3e5a391478b822042226e81ac83edf67123c17 (patch) | |
| tree | 792c00a0c887a44709a55df0cc804e7efa0d2fda | |
| parent | 9b131c263394293af0862f5ea494c27fc0d413eb (diff) | |
| download | php-git-0f3e5a391478b822042226e81ac83edf67123c17.tar.gz | |
Security fix in Udm_Set_Agent_Param function.
| -rw-r--r-- | ext/mnogosearch/php_mnogo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mnogosearch/php_mnogo.c b/ext/mnogosearch/php_mnogo.c index 1058a93938..56f0f4faf0 100644 --- a/ext/mnogosearch/php_mnogo.c +++ b/ext/mnogosearch/php_mnogo.c @@ -607,7 +607,7 @@ DLEXPORT PHP_FUNCTION(udm_set_agent_param) #if UDM_VERSION_ID > 30112 case UDM_PARAM_VARDIR: - sprintf(Agent->Conf->vardir,"%s%s",val,UDMSLASHSTR); + udm_snprintf(Agent->Conf->vardir,sizeof(Agent->Conf->vardir)-1,"%s%s",val,UDMSLASHSTR); break; |
