Comment 0 for bug 1941974

Revision history for this message
yuxuan He (hyxl1017) wrote :

Ubuntu version: 18.04
bcc version:0.16.17

==========================================================================================================

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)

there are several potential bugs of Unchecked Return Value to NULL Pointer Dereference :