Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
fc641e2b
Commit
fc641e2b
authored
Dec 08, 2015
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Coverity: uninitialized values in ExifEntry_t structure
parent
6dd5e774
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
jpeg_exif.cpp
modules/imgcodecs/src/jpeg_exif.cpp
+6
-0
jpeg_exif.hpp
modules/imgcodecs/src/jpeg_exif.hpp
+2
-0
No files found.
modules/imgcodecs/src/jpeg_exif.cpp
View file @
fc641e2b
...
...
@@ -52,6 +52,12 @@ namespace {
namespace
cv
{
ExifEntry_t
::
ExifEntry_t
()
:
field_float
(
0
),
field_double
(
0
),
field_u32
(
0
),
field_s32
(
0
),
tag
(
0
),
field_u16
(
0
),
field_s16
(
0
),
field_u8
(
0
),
field_s8
(
0
)
{
}
/**
* @brief ExifReader constructor
*/
...
...
modules/imgcodecs/src/jpeg_exif.hpp
View file @
fc641e2b
...
...
@@ -111,6 +111,8 @@ typedef std::pair<uint32_t, uint32_t> u_rational_t;
*/
struct
ExifEntry_t
{
ExifEntry_t
();
std
::
vector
<
u_rational_t
>
field_u_rational
;
///< vector of rational fields
std
::
string
field_str
;
///< any kind of textual information
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment