There are 45 total results
6 high impact, 39 medium impact and 0 low impact
MythTV

Coverity Report


Columns are sortable
# Impact Description File
1 1 high  Uninitialized scalar variable: Using uninitialized value "this->tempo" when calling "soundtouch::TDStretch::setParameters(uint, uint, uint, uint)". (1135511) /mythtv/libs/libmythsoundtouch/TDStretch.cpp:102
2 1 high  Uninitialized scalar variable: Using uninitialized value "pkt". Field "pkt.priv" is uninitialized when calling "avcodec_encode_video2(AVCodecContext *, AVPacket *, AVFrame const *, int *)". (1047254) /mythtv/libs/libmythtv/avformatwriter.cpp:273
3 1 high  Uninitialized scalar variable: Using uninitialized value "pkt". Field "pkt.priv" is uninitialized when calling "avcodec_encode_audio2(AVCodecContext *, AVPacket *, AVFrame const *, int *)". (1047253) /mythtv/libs/libmythtv/avformatwriter.cpp:386
4 1 high  Resource leak: Variable "picture_buf" going out of scope leaks the storage it points to. (1047249) /mythtv/libs/libmythtv/avformatwriter.cpp:730
5 1 high  Uninitialized scalar variable: Using uninitialized value "pkt". Field "pkt.priv" is uninitialized when calling "avcodec_decode_video2(AVCodecContext *, AVFrame *, int *, AVPacket const *)". (751797) /mythtv/libs/libmythtv/nuppeldecoder.cpp:925
6 1 high  Uninitialized scalar variable: Using uninitialized value "packet". Field "packet.priv" is uninitialized when calling "avcodec_encode_video2(AVCodecContext *, AVPacket *, AVFrame const *, int *)". (1047255) /mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.cpp:2962
7 2 medium  Logically dead code: Execution cannot reach this expression "av_find_input_format(type)" inside statement "fmt = (type ? av_find_input...". (1091329) /mythplugins/mytharchive/mytharchive/remoteavformatcontext.h:83
8 2 medium  Dereference after null check: Passing null pointer "tagger" to function "MetaIO::removeAlbumArt(QString const &, AlbumArtImage const *)", which dereferences it. (The dereference happens because this is a virtual function call.) (1164499) /mythplugins/mythmusic/mythmusic/editmetadata.cpp:1359
9 2 medium  Dereference before null check: Null-checking "tagger" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. (1164502) /mythplugins/mythmusic/mythmusic/editmetadata.cpp:1367
10 2 medium  Dereference after null check: Passing null pointer "tagger" to function "MetaIO::writeAlbumArt(QString const &, AlbumArtImage const *)", which dereferences it. (The dereference happens because this is a virtual function call.) (1164498) /mythplugins/mythmusic/mythmusic/editmetadata.cpp:1385
11 2 medium  Dereference before null check: Null-checking "tagger" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. (1164501) /mythplugins/mythmusic/mythmusic/editmetadata.cpp:1394
12 2 medium  Unchecked return value from library: No check of the return value of "GetMythUI()->FindThemeFile(image)". (1164497) /mythplugins/mythmusic/mythmusic/musicplayer.cpp:1592
13 2 medium  Dereference null return value: Dereferencing a pointer that might be null "playlist" when calling "Playlist::getTrackCount()". (1164500) /mythplugins/mythmusic/mythmusic/playlisteditorview.cpp:1618
14 2 medium  Division or modulo by zero: In expression "1f / (uint)(1 << bits - 1)", division by expression "1 << bits - 1" which may be zero has undefined behavior. (1138440) /mythtv/libs/libmyth/audio/audioconvert.cpp:324
15 2 medium  Division or modulo by zero: In expression "bytes / av_get_bytes_per_sample(this->m_in)", division by expression "av_get_bytes_per_sample(this->m_in)" which may be zero has undefined behavior. (1047230) /mythtv/libs/libmyth/audio/audioconvert.cpp:610
16 2 medium  Logically dead code: Execution cannot reach this statement "logThreadStarting = false;". (1073816) /mythtv/libs/libmythbase/loggingserver.cpp:901
17 2 medium  Dereference before null check: Null-checking "logItem" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. (1073817) /mythtv/libs/libmythbase/loggingserver.cpp:1450
18 2 medium  Dereference before null check: Null-checking "cmdargs" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. (1028695) /mythtv/libs/libmythbase/mythsystemunix.cpp:1130
19 2 medium  Uninitialized scalar field: Non-static class member field "m_fileinfo.st_ctim" is not initialized in this constructor nor in any functions that it calls. (1164503) /mythtv/libs/libmythmetadata/metaio.cpp:29
20 2 medium  Uninitialized scalar field: Non-static class member "m_coverartUpdated" is not initialized in this constructor nor in any functions that it calls. (1164504) /mythtv/libs/libmythmetadata/musicfilescanner.cpp:59
21 2 medium  Failure to restore non-local value: The original value of non-local "this->getrawframes" was restored here. (1135503) /mythtv/libs/libmythtv/avformatdecoder.cpp:677
22 2 medium  Improper use of negative value: "size" is passed to a parameter that cannot be negative. (1047233) /mythtv/libs/libmythtv/avformatwriter.cpp:721
23 2 medium  Unchecked return value from library: No check of the return value of "rf->Seek(this->internalreadpos - this->readAdjust, 0, -1LL)". (1073814) /mythtv/libs/libmythtv/fileringbuffer.cpp:520
24 2 medium  Uninitialized scalar field: Non-static class member "quickTune" is not initialized in this constructor nor in any functions that it calls. (1135516) /mythtv/libs/libmythtv/inputinfo.cpp:18
25 2 medium  Uninitialized scalar field: Non-static class member "_badPacket" is not initialized in this constructor nor in any functions that it calls. (1073820) /mythtv/libs/libmythtv/mpeg/pespacket.h:30
26 2 medium  Logically dead code: Execution cannot reach this statement "this->SetExpiry(window, tim...". (1047227) /mythtv/libs/libmythtv/osd.cpp:390
27 2 medium  Uninitialized scalar field: Non-static class member "m_sumbandwidth" is not initialized in this constructor nor in any functions that it calls. (1135515) /mythtv/libs/libmythtv/recorders/HLS/HLSStream.cpp:25
28 2 medium  Uninitialized scalar field: Non-static class member "cleartimeonpause" is not initialized in this constructor nor in any functions that it calls. (1025911) /mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.cpp:197
29 2 medium  Unchecked return value from library: No check of the return value of "this->ringBuffer->WriterSeek(this->extendeddataOffset + 60ULL, 0, false)". (1025900) /mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.cpp:2237
30 2 medium  Unchecked return value from library: No check of the return value of "this->ringBuffer->WriterSeek(this->extendeddataOffset + 68ULL, 0, false)". (1025901) /mythtv/libs/libmythtv/recorders/NuppelVideoRecorder.cpp:2276
31 2 medium  Unchecked return value from library: No check of the return value of "insert_crc(this->seen_table_crc, pat)". (700257) /mythtv/libs/libmythtv/recorders/dtvsignalmonitor.cpp:304
32 2 medium  Unchecked return value from library: "read(int, void *, size_t)" returns the number of bytes read, but it is ignored. (1135491) /mythtv/libs/libmythtv/recorders/mpegrecorder.cpp:1335
33 2 medium  Unchecked return value from library: No check of the return value of "this->remotefile->Seek(old_pos, 0, -1LL)". (1073815) /mythtv/libs/libmythtv/ringbuffer.cpp:1153
34 2 medium  Unchecked return value from library: No check of the return value of "lseek64(this->fd2, old_pos, 0)". (746749) /mythtv/libs/libmythtv/ringbuffer.cpp:1155
35 2 medium  Logically dead code: Execution cannot reach this expression "8" inside statement "lang = "\0\4\2\6\1\5\3\a"[b...". (700317) /mythtv/libs/libmythtv/teletextdecoder.cpp:136
36 2 medium  Dereference after null check: Passing null pointer "buffer" to function "RingBuffer::GetFilename() const", which dereferences it. (1047232) /mythtv/libs/libmythtv/tv_play.cpp:2432
37 2 medium  Logically dead code: Execution cannot reach this expression ""lircrcd"" inside statement "sha_bang2 = ((sha_bang != N...". (700325) /mythtv/libs/libmythui/lirc_client.c:917
38 2 medium  Dereference after null check: Dereferencing null pointer "s". (1061551) /mythtv/libs/libmythui/mythnotificationcenter.cpp:145
39 2 medium  Unchecked return value from library: No check of the return value of "pService->qt_metacall(QMetaObject::InvokeMetaMethod, this->m_nMethodIndex, param)". (700270) /mythtv/libs/libmythupnp/servicehost.cpp:124
40 2 medium  Uncaught exception: Called function throws an exception of type "std::runtime_error". (700741) /mythtv/programs/mythavtest/main.cpp:273
41 2 medium  Uncaught exception: Called function throws an exception of type "std::runtime_error". (1073818) /mythtv/programs/mythtranscode/main.cpp:614
42 2 medium  Uninitialized scalar field: Non-static class member field "mpeg2_pic.display_offset" is not initialized in this constructor nor in any functions that it calls. (700950) /mythtv/programs/mythtranscode/mpeg2fix.h:52
43 2 medium  Unchecked return value from library: "read(int, void *, size_t)" returns the number of bytes read, but it is ignored. (1135493) /mythtv/programs/mythtranscode/replex/avi.c:149
44 2 medium  Unchecked return value from library: "read(int, void *, size_t)" returns the number of bytes read, but it is ignored. (1135495) /mythtv/programs/mythtranscode/replex/avi.c:263
45 2 medium  Unchecked return value from library: "read(int, void *, size_t)" returns the number of bytes read, but it is ignored. (1135494) /mythtv/programs/mythtranscode/replex/avi.c:451

Updated 27 Jan 2014 14:54:04 GMT