diff options
author | Sverker Eriksson <[email protected]> | 2010-03-24 19:57:07 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-03-29 13:52:46 +0200 |
commit | 80ce0ac4458c549fd0969333dfbbf8b3233cf544 (patch) | |
tree | 9d5d8ff2662ff70f51b99f03af91fa6c06cee62c /lib/mnesia/doc/src/mnesia.xml | |
parent | 985d201454d0cb43d5ed3230d6afeaeea0a1fe2c (diff) | |
download | otp-80ce0ac4458c549fd0969333dfbbf8b3233cf544.tar.gz otp-80ce0ac4458c549fd0969333dfbbf8b3233cf544.tar.bz2 otp-80ce0ac4458c549fd0969333dfbbf8b3233cf544.zip |
Fix erlang:decode_packet(httph_bin,..) to not return faulty header strings
Unrecognized Http header names was sometimes returned as corrupt
sub-binaries pointing to a stack allocated buffer. This only happened
on 32-bit VM if the header name was between 16 and 20 characters
long. It could in some cases lead to segmentation fault.
The solution was to avoid creating sub-binary if the returned string
was not part of the original binary.
Diffstat (limited to 'lib/mnesia/doc/src/mnesia.xml')
0 files changed, 0 insertions, 0 deletions