[Bug 257317] FTPD.c va_list opened but not closed as detected by cppcheck

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 21 Jul 2021 18:17:47 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257317

            Bug ID: 257317
           Summary: FTPD.c va_list opened but not closed as detected by
                    cppcheck
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs_at_FreeBSD.org
          Reporter: sakison_at_gmail.com

Howdy,

cppcheck-2.5 detected and error in libexec/ftpd/ftpd.c.

ftpd.c:3364:1: error: va_list 'ap' was opened but not closed by va_end().

Adding 'va_end(ap);' on line 3348 should resolve this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Jul 21 2021 - 18:17:47 UTC

Original text of this message