Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jan 2017 03:10:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 215752] /bin/echo utility does not free() the memory which allocated by malloc()
Message-ID:  <bug-215752-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 215752
           Summary: /bin/echo utility does not free() the memory which
                    allocated by malloc()
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: by@reorigin.com

Overview:
I found the bug at the time viewing the source code of /bin/echo, it uses
malloc() to allocate memory, but there is no free() action takes place to f=
ree
the memory allocated.

Expected Results:
I think the /bin/echo utility should free() the memory at any time terminat=
ing
the process, normally or abnormally.

--=20
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-215752-8>