| Summary: | cppcheck reporting error of possible memory leak | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Jitendra Sharma <jitendra.sharma> | ||||
| Component: | Regression tests | Assignee: | Jitendra Sharma <jitendra.sharma> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | minor | CC: | djm, dtucker, jitendra.sharma | ||||
| Priority: | P5 | ||||||
| Version: | 8.0p1 | ||||||
| Hardware: | Other | ||||||
| OS: | Windows 10 | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 2988 | ||||||
| Attachments: |
|
||||||
|
Description
Jitendra Sharma
2019-07-25 14:55:59 AEST
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 |