diff options
author | ace20022 <ace20022@ymail.com> | 2016-04-02 12:34:23 +0200 |
---|---|---|
committer | ace20022 <ace20022@ymail.com> | 2016-04-05 20:32:00 +0200 |
commit | 69f134da562c69ae4be626d7c9389773ef7a5869 (patch) | |
tree | 2b35f4edbcab1b9fd87f993fb4aebce23a3a8641 /lib/libexif/ExifParse.cpp | |
parent | e3ed4f1884605d8cae129bed5e931fc95f6aa7ae (diff) |
CID 77678, 77679, 77785: Uninitialized pointer field (UNINIT_CTOR).
Diffstat (limited to 'lib/libexif/ExifParse.cpp')
-rwxr-xr-x | lib/libexif/ExifParse.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libexif/ExifParse.cpp b/lib/libexif/ExifParse.cpp index 1ef43260f7..e194bdd90f 100755 --- a/lib/libexif/ExifParse.cpp +++ b/lib/libexif/ExifParse.cpp @@ -198,10 +198,8 @@ static void ErrNonfatal(const char* const msg, int a1, int a2) //-------------------------------------------------------------------------- CExifParse::CExifParse () : m_FocalPlaneXRes(0.0), m_FocalPlaneUnits(0.0), m_ExifImageWidth(0), m_MotorolaOrder(false), - m_DateFound(false) -{ - m_ExifInfo = NULL; -} + m_DateFound(false), m_LargestExifOffset(0), m_ExifInfo(nullptr) +{} //-------------------------------------------------------------------------- // Convert a 16 bit unsigned value from file's native byte order |