oprofile Log


Commit Date  
[6ee980] (2.4 kB) by Maynard Johnson Maynard Johnson

Fix Coverity errors found on May 20, 2013 git snapshot

Coverity identified the following errors on scans run from May 7 through
May 20, 2013:

Type,Category,File,Function
Wrapper object use after free,Memory - illegal accesses,/agents/jvmpi/jvmpi_oprofile.cpp,compiled_method_load(JVMPI_Event *)
Unchecked return value,Error handling issues,/daemon/opd_mangling.c,opd_open_sample_file
Dereference after null check,Null pointer dereferences,/daemon/opd_sfile.c,sfile_hash
Uninitialized scalar field,Uninitialized members,/gui/oprof_start_config.cpp,config_setting::config_setting()
Division or modulo by zero,Integer handling issues,/libdb/db_stat.c,odb_hash_stat
Resource leak,Resource leaks,/libop/op_cpu_type.c,_auxv_fetch
Resource leak,Resource leaks,/libop/op_cpu_type.c,fetch_at_hw_platform
Negative array index read,Memory - illegal accesses,/libop/op_events.c,_is_um_valid_bitmask
Write to pointer after free,Memory - corruptions,/libop/op_events.c,read_events
Read from pointer after free,Memory - illegal accesses,/libop/op_events.c,_is_um_valid_bitmask
Dereference after null check,Null pointer dereferences,/libop/op_mangle.c,op_mangle_filename
Dereference after null check,Null pointer dereferences,/libop/op_mangle.c,op_mangle_filename
Time of check time of use,Security best practices violations,/libopagent/opagent.c,op_open_agent
Improper use of negative value,Integer handling issues,/libperf_events/operf_counter.cpp,operf_record::setup()
Double free,Memory - corruptions,/libperf_events/operf_counter.cpp,operf_record::setup()
Uninitialized pointer read,Memory - illegal accesses,/libperf_events/operf_counter.cpp,<unnamed>::_get_perf_event_from_file(mmap_info &)
Unchecked return value,Error handling issues,/libperf_events/operf_mangling.cpp,"operf_open_sample_file(odb_t *, operf_sfile *, operf_sfile *, int, int)"
Using invalid iterator,API usage errors,/libperf_events/operf_process_info.cpp,operf_process_info::try_disassociate_from_parent(char *)
Non-array delete for scalars,Memory - illegal accesses,/libregex/op_regex.cpp,"<unnamed>::op_regerror(int, const re_pattern_buffer &)"
Resource leak,Resource leaks,/libutil++/op_bfd.cpp,"op_bfd::op_bfd(const std::basic_string<char, std::char_traits<char>, std::allocator<char>>&, const string_filter &, const extra_images &, bool &)"
Explicit null dereferenced,Null pointer dereferences,/opjitconv/create_bfd.c,fill_symtab
Resource leak,Resource leaks,/opjitconv/opjitconv.c,_cleanup_jitdumps
Use of untrusted string value,Insecure data handling,/opjitconv/opjitconv.c,main
Resource leak,Resource leaks,/pe_profiling/operf.cpp,_get_cpu_for_perf_events_cap()
Dereference null return value,Null pointer dereferences,/pe_profiling/operf.cpp,_process_session_dir()
Incorrect deallocator used,API usage errors,/pe_profiling/operf.cpp,_process_events_list()

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

This patch fixes those errors.

Signed-off-by: Maynard Johnson <maynardj@us.ibm.com>

2013-05-28 13:19:25 View
Download
[191951] (2.3 kB) by Philippe Elie Philippe Elie

samples files statistics must use 64 bits samples count

2005-08-19 11:56:50 View
Download
[c62f2d] (2.3 kB) by John Levon John Levon

some trivial renamings

2004-05-29 16:29:42 View
Download
[189ee5] (2.3 kB) by John Levon John Levon

hopefully fix dcookie aliasing bug, by Bin Ren

2004-05-28 17:21:40 View
Download
[5546c0] (2.3 kB) by Philippe Elie Philippe Elie

improve doxygen comment

2003-05-31 18:21:41 View
Download
[b41e85] (2.1 kB) by Philippe Elie Philippe Elie

merge pp-interface-branch to trunk, See ChangeLog

2003-05-29 01:10:09 View
Download
[007079] (1.9 kB) by William Cohen William Cohen

Change names to avoid /usr/lib/libdb.a name conflicts.

2003-03-31 16:39:49 View
Download
[6abe61] (1.9 kB) by Philippe Elie Philippe Elie

doxygen comment fix

regards,
phil

2002-12-17 03:46:45 View
Download
[14300c] (1.9 kB) by Philippe Elie Philippe Elie

support 64 bits size_t

regards,
Phil

2002-12-03 19:41:51 View
Download
[ae25d5] (1.9 kB) by Philippe Elie Philippe Elie

db-hash-xxxx.c to db_xxxx.c

regards,
Phil

2002-12-03 02:53:21 View
Download
[153596] (None) by Philippe Elie Philippe Elie

merge from db-branch-1 to head removing module hash table and change
implementation of samples files to use a hash table.

regards,
Phil

2002-12-03 01:57:58 View
Download