Possible memory leaks
Bbulatov opened this issue · 0 comments
Bbulatov commented
Good day!
Testing was carried out on Linux Debian 11. As a result of static analysis, the following possible memory leaks were found:
- In enc.h:1275, memory is allocated for the rsasav variable, but further in the code this memory is not cleared explicitly in the function (enc.h:1570)
- In remote.c:410, memory is allocated for the httpdir variable, but further in the code this memory is not cleared in any way in the function explicitly (remote.c:471)
- In sslhelper.c:124 memory is allocated to the path variable, but after executing line 138 the memory will leak
- In sslhelper.c:3196 memory is allocated to the buf variable, but after executing line 3218 the memory will leak
- In user.c:589, memory is allocated to the list variable, but then after its repeated use until the end of the function, there is no cleanup. Although in a similar block, cleaning occurs before this.
Please clarify whether these situations require any correction?