[INTERNAL] fixed missing glitch found by fortify scan

Change-Id: I4c703ba3dfeaffe5467dd7c365db6309eeedeff2
Merge "[INTERNAL] fixed missing glitch found by fortify scan"