Fix format-truncation warning
Fix maybe-uninitialized warning
Add missing debug symbols flag to debug build
(cherry picked from commit afc563ea)
Fix format-truncation warning
Fix maybe-uninitialized warning
Add missing debug symbols flag to debug build
(cherry picked from commit afc563ea)