query: Is casting user input to an integer sufficient to sanitize it?
positive_passages.docid: 255
positive_passages.text: How can I prevent SQL injection in PHP?
negative_passages.docid: 118255
negative_passages.text: how do I validate user input as a double in C++?
negative_passages.docid: 153202
negative_passages.text: Type safety: Unchecked cast
negative_passages.docid: 94213
negative_passages.text: Checking if an input number is an integer
negative_passages.docid: 60154
negative_passages.text: How do I address unchecked cast warnings?
negative_passages.docid: 107307
negative_passages.text: Can I protect against SQL injection by escaping single-quote and surrounding user input with single-quotes?
negative_passages.docid: 86808
negative_passages.text: How to determine if a string is a valid variable name?
negative_passages.docid: 118643
negative_passages.text: Validating input using java.util.Scanner
negative_passages.docid: 92808
negative_passages.text: How to convert a string of bytes into an int?
negative_passages.docid: 104102
negative_passages.text: Is C/C++ bool type always guaranteed to be 0 or 1 when typecast'ed to int?
negative_passages.docid: 97062
negative_passages.text: Integers as the only valid inputs
negative_passages.docid: 9891
negative_passages.text: How can I convert String to Int?
negative_passages.docid: 94082
negative_passages.text: Is it possible to pad integers with zeros using regular expressions?
negative_passages.docid: 103586
negative_passages.text: Applying casts to the results of integer and floating point division: what's going on here?
negative_passages.docid: 101551
negative_passages.text: How does long to int cast work in Java?
negative_passages.docid: 27492
negative_passages.text: Testing if given number is integer
negative_passages.docid: 75247
negative_passages.text: Convert string to nullable type (int, double, etc...)