On Fri, Feb 8, 2013 at 4:29 AM, Student Jr <[email protected]> wrote:
> DOS does not occur with strings because strings can be garbage
> collected.  Symbols are forever.

I am very well aware of that.  Still the fact remains that you can
create a DOS with *any* external data if the data set is large enough
and the processing does not take that possibility into account.  There
is nothing really special about Symbols here - as I have pointed out
earlier.  (And. btw., you did not argue against that.)  It is the way
input from external sources is read.  The choice to use Symbols for
data with large variance is just one of many decisions that can do
harm to an application.

Cheers

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

-- 
[email protected] | 
https://groups.google.com/d/forum/ruby-talk-google?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"ruby-talk-google" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to