Several bugs of file descriptor leak in bcc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux86 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu version: 18.04
bcc version:0.16.17
I found several bugs in bcc , would you help me to check if these bugs are true?thanks for your patience.
=======
step 1 :
In file build/copt/
Function fopen executes and stores the return value to fp
step 2 :
In file build/copt/
Select the false branch at this point (fp==null is false)
step 3 :
In file build/copt/
Select the false branch at this point (fp!=stdin is false) but did not close it
=======
step 1 :
In file build/copt/
Function fopen executes and stores the return value to fp
step 2 :
In file build/copt/
Select the false branch at this point (fp==null is false)
step 3 :
In file build/copt/
Select the true branch at this point (headstr!=null is true)
step 4 :
In file build/copt/
Select the true branch at this point (lp!=null is true)
step 5 :
In file build/copt/
Select the false branch at this point (fp!=stdout is false) but did not close it
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1941972
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.