Do I need additional protection against buffer overruns?

Greetings!

I’ve got both client-side and server-side validations in place, but wonder if I need to do more.

Specifically, …

In addition to user input via browser, my Rails app can import the same data from XML files (using REXML). Is there a possibility of buffer overruns as I’m reading the data from the XML files into instance variables in the controller method, prior to submitting them to the model for validation? I can’t seem to find a definitive statement on buffer overrun protections in Rails. Do I need to worry about REXML too? Or is the potential issue limited to Rails?

Thanks much for any info.

Best regards,

Bill