Several potential bugs of memory leak

Bug #1940517 reported by yuxuan He
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sqlite3 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu version: 18.04
sqlite version:3.22

Hello,I found two apotential bugs in package sqlite3,and the .docx file in the attachment I uploaded shows the occurrence process of the bugs in a graphical way.Would you help me check whether the bugs mentioned below are true? Thank you very much for your patience.

In file sqlite3-3.22.0\tool\lemon.c
In function pathsearch
there is allocation of memory,and in certain way,this memory can not be freed correctly.
The entire graphic description is shown in figure 1 in .docx file.

In file sqlite3\build\shell.c(build is a directory contain files generated by configure)
In function readfile
there is allocation of memory,and in certain way,this memory can not be freed correctly.
The entire graphic description is shown in figure 2 in .docx file.

Revision history for this message
yuxuan He (hyxl1017) wrote :
  • memory_leak.docx Edit (303.9 KiB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.