mirror of
https://github.com/apache/httpd.git
synced 2025-08-15 23:27:39 +00:00
* server/protocol.c (ap_rvputs): Call va_end before returning in the
error case, as required by C89/POSIX stdarg.h - Coverity warns for this. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1842919 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -2211,6 +2211,7 @@ AP_DECLARE_NONSTD(int) ap_rvputs(request_rec *r, ...)
|
||||
|
||||
len = strlen(s);
|
||||
if (buffer_output(r, s, len) != APR_SUCCESS) {
|
||||
va_end(va);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user