/[Apache-SVN]
ViewVC logotype

Revision 1129892


Jump to revision: Previous Next
Author: bryanduxbury
Date: Tue May 31 20:03:29 2011 UTC (13 years, 5 months ago)
Changed paths: 2
Log Message:
THRIFT-1182. rb: Native deserializer segfaults on incorrect list element type

This patch causes both the pure ruby and native extension code paths to check if the data in lists, sets, and maps is of the expected type before deserlizing it. When it's not the right type, it now skips the bad data correctly.

Patch: Ilya Maykov

Changed paths

Path Details
Directorythrift/trunk/lib/rb/ext/struct.c modified , text changed
Directorythrift/trunk/lib/rb/lib/thrift/struct_union.rb modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26