Protecting Java Code: SQLi and Integer Overflows