Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 2015 16:56:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 202299] usr/src/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c:1085: attempt to free() stack object
Message-ID:  <bug-202299-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202299

            Bug ID: 202299
           Summary: usr/src/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools
                    .c:1085: attempt to free() stack object
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dcb314@hotmail.com

[usr/src/usr.sbin/bsnmpd/tools/libbsnmptools/bsnmptools.c:1085]: (error)
Deallocation of an auto-variable results in undefined behaviour.

Source code is

    free(string);

but

    char string[MAXSTR], *endptr;

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202299-8>