• jeromemarchand's avatar
    Miscellaneous fixes (#1914) · b84714a4
    jeromemarchand authored
    * Fix multiple memory access errors
    
    Fixes a buffer overflow in get_pid_exe(), a use-after-free error in
    bcc_usdt_get_probe_argctype() and a possible NULL pointer dereference
    in find_debug_via_debuglink().
    
    * Fix multiple ressource leaks
    
    Leaked file descriptors in bpf_attach_uprobe() and verify_checksum().
    Memory leaks in  Parser::func_add() and bcc_procutils_language().
    
    * fixup! Fix multiple ressource leaks
    b84714a4
libbpf.c 41.5 KB