Skip to content

Latest commit

 

History

History
19 lines (9 loc) · 577 Bytes

C_net_4cd8371.md

File metadata and controls

19 lines (9 loc) · 577 Bytes

net_4cd8371

Project Repo: https://github.com/torvalds/linux/tree/4cd8371a234d051f9c9557fcbb1f8c523b1c0d10/drivers/net

Case 1

Program locations:

Bug traces:

  • < area = nfp_cpp_area_alloc(cpp, NFP_CPP_ID(7, NFP_CPP_ACTION_RW, 0),, nfp_cpp_area_cache_add>

Explanation:

  • The pointer area at line 9 is not freed and not propagated to any function before the function returns at line 16. Thus there is a memory leak bug.