Analysis and Prevention of Code-Injection Attacks on Android OS