[v8/f19] (3 commits) ...backport security fix for memory corruption and stack overflow (RHBZ#1125464)