diff options
author | Michael Santos <[email protected]> | 2010-04-12 20:22:03 -0400 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-05-03 13:46:38 +0200 |
commit | d1b44cb27a59e45386f57e51f352dba0a3735a76 (patch) | |
tree | b424396c5f75acbfdde5c50cb60b7d8ff7ec5387 /bootstrap | |
parent | 3a68c36ca7aed71d643ea29460e36fec7e56817d (diff) | |
download | otp-d1b44cb27a59e45386f57e51f352dba0a3735a76.tar.gz otp-d1b44cb27a59e45386f57e51f352dba0a3735a76.tar.bz2 otp-d1b44cb27a59e45386f57e51f352dba0a3735a76.zip |
Truncate debug messages
When the undocumented ERL_INET_GETHOST_DEBUG environment variable
is set to 5, very long hostnames can overflow the buffer used to
construct the debug message. Truncate debug messages if they exceed
the size of the buffer.
export ERL_INET_GETHOST_DEBUG=5
inet:gethostbyname(lists:duplicate(5000,"x")).
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions