provide a validity check to prevent against Integer overflow conditions (#870)
provide a validity check to prevent against Integer overflow conditions (#870)

* provide a validity check to prevent against Integer overflow conditions

* fix some style issues.

AmesianX/capstone,AmesianX/capstone,bSr43/capstone,bSr43/capstone,AmesianX/capstone,bSr43/capstone,bSr43/capstone,bSr43/capstone,bSr43/capstone,bSr43/capstone,AmesianX/capstone,AmesianX/capstone,AmesianX/capstone,AmesianX/capstone