While executing static analysis tool cppcheck on openssh project, below errors are encountered: [regress/unittests/test_helper/test_helper.c:404]: (error) Allocation with tohex, fprintf doesn't release it. [regress/unittests/test_helper/test_helper.c:439]: (error) Allocation with tohex, fprintf doesn't release it.
Created attachment 3303 [details] Proposed patch to fix the bug Attached is the patch which is fixing this bug reported by static analyzer tool cppcheck. With this patch, We will get the reference of memory allocated in tohex in calling function itself and then free it.
This has been applied - thanks
closing resolved bugs as of 8.6p1 release