** Description changed: 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/copt.c(build is directory generated by configure) , function readinfile line 315 : + Function fopen executes and stores the return value to fp + + step 2 : + In file build/copt/copt.c(build is directory generated by configure) , function readinfile line 315 : + Select the false branch at this point (fp==null is false) + + step 3 : + In file build/copt/copt.c(build is directory generated by configure) , function readinfile line 320 : + Select the false branch at this point (fp!=stdin is false) but did not close it ============================================================================================================ - step 1 : - In file build/copt/copt.c(build is directory generated by configure) , function readinfile line 315 : - Function fopen executes and stores the return value to fp + step 1 : + In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 801 : + Function fopen executes and stores the return value to fp - step 2 : - In file build/copt/copt.c(build is directory generated by configure) , function readinfile line 315 : - Select the false branch at this point (fp==null is false) + step 2 : + In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 801 : + Select the false branch at this point (fp==null is false) - step 3 : - In file build/copt/copt.c(build is directory generated by configure) , function readinfile line 320 : - Select the false branch at this point (fp!=stdin is false) but did not close it + step 3 : + In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 805 : + Select the true branch at this point (headstr!=null is true) - - ============================================================================================================ - - step 1 : - In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 801 : - Function fopen executes and stores the return value to fp - - step 2 : - In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 801 : - Select the false branch at this point (fp==null is false) - - step 3 : - In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 805 : - Select the true branch at this point (headstr!=null is true) - - step 4 : - In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 809 : - Select the true branch at this point (lp!=null is true) - step 5 : - In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 811 : - Select the false branch at this point (fp!=stdout is false) but did not close it + step 4 : + In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 809 : + Select the true branch at this point (lp!=null is true) + step 5 : + In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 811 : + Select the false branch at this point (fp!=stdout is false) but did not close it
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux86 in Ubuntu. https://bugs.launchpad.net/bugs/1941972 Title: Several bugs of file descriptor leak in bcc Status in linux86 package in Ubuntu: New 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/copt.c(build is directory generated by configure) , function readinfile line 315 : Function fopen executes and stores the return value to fp step 2 : In file build/copt/copt.c(build is directory generated by configure) , function readinfile line 315 : Select the false branch at this point (fp==null is false) step 3 : In file build/copt/copt.c(build is directory generated by configure) , function readinfile line 320 : Select the false branch at this point (fp!=stdin is false) but did not close it ============================================================================================================ step 1 : In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 801 : Function fopen executes and stores the return value to fp step 2 : In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 801 : Select the false branch at this point (fp==null is false) step 3 : In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 805 : Select the true branch at this point (headstr!=null is true) step 4 : In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 809 : Select the true branch at this point (lp!=null is true) step 5 : In file build/copt/copt.c(build is directory generated by configure) , function writeoutf line 811 : Select the false branch at this point (fp!=stdout is false) but did not close it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux86/+bug/1941972/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp