aris
October 8, 2012, 3:55am
1
I was reading this:
“these methods allocate a new instance of the class of the object on
which they are invoked. They then copy all the instance variables and
the taintedness of the receiver object to the newly allocated object.”
What does it mean “taintedness”?
thanks for response
Taintedness refers to a default lack of trust in a value that was
obtained from an unknown source. (Typically user input of some kind.)
http://www.ruby-doc.org/docs/ProgrammingRuby/html/taint.html
Taint checking is a feature in some computer programming languages, such as Perl, Ruby or Ballerina designed to increase security by preventing malicious users from executing commands on a host computer. Taint checks highlight specific security risks primarily associated with web sites which are attacked using techniques such as SQL injection or buffer overflow attack approaches.
The concept behind taint checking is that any variable that can be modified by an outside user (for example a variab...
-Rob