Hide Forgot
Description of problem: Static analysis of the code with/without applied patches discovered some possible problems in the code. Version-Release number of selected component (if applicable): pnm2ppa-1.04-21.fc15
Created attachment 498797 [details] return_local Error: RETURN_LOCAL: pnm2ppa-1.04/calibrate_ppa.c:162: local_ptr_assign_local: Assigning: "out_filepath" = "filepath" (address of local variable "filepath"). pnm2ppa-1.04/calibrate_ppa.c:164: out_of_scope: Variable "filepath" goes out of scope. pnm2ppa-1.04/calibrate_ppa.c:226: use_invalid: Using "out_filepath", which points to an out-of-scope variable "filepath". Error: RETURN_LOCAL: pnm2ppa-1.04/pnm2ppa.c:159: local_ptr_assign_local: Assigning: "path" = "File_path" (address of local variable "File_path"). pnm2ppa-1.04/pnm2ppa.c:160: return_local_addr_alias: Returning pointer "path" which points to local variable "File_path".