Code: }static inline void WriteResourceLong(unsigned char *p,
   const unsigned int quantum)
 {

Commit Message: Improve checking of EXIF profile to prevent integer overflow (bug report from Ibrahim el-sayed)
CWE ID: CWE-125
}static inline void WriteResourceLong(unsigned char *p,
}

static inline void WriteResourceLong(unsigned char *p,
   const unsigned int quantum)
 {
