A potential bug of Use of Uninitialized Variable

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

Bug Description

Ubuntu version: 18.04
bcc version:0.16.17

I found a bug in bcc , would you help me to check if this bug is true?thanks for your patience.
==========================================================================================================

step 1 :
  In file build/as/genobj.c(build is directory generated by configure) , function putobjword line 668 :
     buf is defined here but not initialized

step 2 :
  In file build/as/genobj.c(build is directory generated by configure) , function putobjword line 672 :
    buf[1] is used as the 1st parameter in function putobj1 (buf[1] is uninitialized)

yuxuan He (hyxl1017)
description: updated
description: updated
Revision history for this message
Chris Guiver (guiverc) wrote :

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 1941974

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/ReportingBugs.

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.