aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/encode/encode_string.c
AgeCommit message (Collapse)Author
2011-09-29Update copyright yearsBjörn-Egil Dahlberg
2011-06-07ei: integer overflow in string/atom encodingMichael Santos
ei_encode_atom() and ei_encode_string() use strlen() to get the length of the buffer. As strlen() returns an unsigned long long and both ei functions take a signed integer, the length fields may overflow. Check the results of strlen can be held in a signed integer.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP