aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2010-09-03inet: support retrieving MAC address on BSDMichael Santos
On systems supporting getaddrinfo(), support looking up the MAC address from inet:ifget/2. The results have the same quirks as with Linux: if the MAC address is longer than 6 bytes (e.g., fw0 under Mac OS X), the address is truncated; if the interface does not have a MAC address (e.g., lo0), an address consisting of 0's is returned.
2010-07-26inet: fix getservbyname buffer overflowMichael Santos
The byte holding the length of the interface name for the getservbyname/2 function is used in a signed context and can become negative, causing the buffer to be overrun. Make the same change for getservbyport/2. Test case: inet:getservbyname(list_to_atom(lists:flatten(lists:duplicate(128, "x"))), tcp).
2010-07-26inet: fix ifr_name buffer overflowMichael Santos
The byte holding the length of the interface name for the ifget/2 functions is used in a signed context and can become negative, causing the ifreq.ifr_name buffer to be overrun. Test case: inet:ifget(lists:duplicate(128, "x"), [addr]).
2010-07-26inet: null terminate ifr_name bufferMichael Santos
The buffer holding the interface name should be null terminated. See man 7 socket on Linux or the definition of IFNAMSIZ in net/if.h on FreeBSD: Length of interface external name, including terminating '\0'.
2010-07-26Fix typos in the distribution handshake docMichael Santos
2010-07-23Merge branch 'sverker/halfword-heap-fixes/OTP-8745' into devSverker Eriksson
* sverker/halfword-heap-fixes/OTP-8745: Mending halfword heap emulator
2010-07-22Mending halfword heap emulatorSverker Eriksson
2010-07-20Merge branch 'sverker/one_offheap_list/OTP-8737' into devSverker Eriksson
* sverker/one_offheap_list/OTP-8737: One off-heap list, to eliminate two words per ETS object.
2010-07-20One off-heap list, to eliminate two words per ETS object.Sverker Eriksson
Merging the three off-heap lists (binaries, funs and externals) into one list. This reduces memory consumption by two words (pointers) per ETS object.
2010-07-20Merge branch 'sverker/ets_select_hang/OTP-8732' into devSverker Eriksson
* sverker/ets_select_hang/OTP-8732: Fix ets:select hanging on ordered_set with empty list as key.
2010-07-08Merge branch 'sverker/full_INTEGER_EXT/OTP-8540' into devSverker Eriksson
* sverker/full_INTEGER_EXT/OTP-8540: term_to_binary use all 32 bits of INTEGER_EXT
2010-07-08Merge branch 'sverker/driver_int64_bug/OTP-8716' into devSverker Eriksson
* sverker/driver_int64_bug/OTP-8716: Fix bug that caused faulty 64-bit integers from drivers.
2010-07-08Merge branch 'sverker/crypto_type_error/OTP-8718' into devSverker Eriksson
* sverker/crypto_type_error/OTP-8718: Fix type spec error in crypto
2010-07-08Fix type spec error in cryptoSverker Eriksson
Changed return types from "binary" to "binary()" for md5_mac, md5_mac_96, sha_mac and sha_mac_96.
2010-07-08Merge branch 'sverker/nif_send3_test/OTP-8719' into devSverker Eriksson
* sverker/nif_send3_test/OTP-8719: nif_SUITE send3 stress test
2010-07-08nif_SUITE send3 stress testSverker Eriksson
2010-07-07Merge branch 'ia/ssl/dsa_client_cert/OTP-8721' into devIngela Anderton Andin
2010-07-07Fix ets:select hanging on ordered_set with empty list as key.Sverker Eriksson
erl_db_tree.c incorrectly used NIL (empty list) as "lastkey" to mark start of the iteration. A real NIL key could then cause a select or match iteration to be restarted over and over again if the last key before a trap happended to be NIL. Changed NIL to THE_NON_VALUE. Should be ok as the initial key value can never be put into any continuation tuple.
2010-07-07Merge branch 'peppe/common_test/dev/OTP-8725' of super:peppe_otp into devRaimo Niskanen
* 'peppe/common_test/dev/OTP-8725' of super:peppe_otp: Fix bug that crashes common_test when running cover Bump version numbers for common_test and test_server Add documentation for group specifications and for the label option Improve handling of test case group specifications Add textured backgound to html log files Improve handling of test case group specifications Add new option to label test runs Implement handling of group specifications Fix problem with using the wrong logdir setting Rewrite handling of group definitions in Common Test test suites
2010-07-07Fix a bug in the type of lists:flatmap/2.Kostis Sagonas
The code handling this BIF did not take into account that the fun in the first argument that could return [] and therefore the return value of the BIF could also be [].
2010-07-07Merge branch 'rani/sctp-udp-recv-error' into devRaimo Niskanen
* rani/sctp-udp-recv-error: Fix inet_drv to detect passive mode UDP errors for SCTP builds
2010-07-07Merge branch 'sd/epmd-stop-cli' into devRaimo Niskanen
* sd/epmd-stop-cli: allow epmd -stop name to unregister a client from epmd
2010-07-07Fix inet_drv to detect passive mode UDP errors for SCTP buildsRaimo Niskanen
Debug and patch by Per Hedeland for R13B04 on erlang-patches: Connected UDP (and handling of any other errors in UDP recv()) is broken in passive mode for all SCTP-enabled builds.
2010-07-07allow epmd -stop name to unregister a client from epmdSeven Du
2010-07-07Merge branch 'pg/beam_lib_cmp_2_return_type_specification' into devRaimo Niskanen
* pg/beam_lib_cmp_2_return_type_specification: Fix beam_lib:cmp/2 return type specification
2010-07-07Merge branch 'ta/filetypo' into devRaimo Niskanen
* ta/filetypo: Correct trivial typos in file manual
2010-07-07Merge branch 'se/http_response_empty_phrase' into devRaimo Niskanen
* se/http_response_empty_phrase: {packet,http} allow empty response phrase
2010-07-07Merge branch 'ks/auth-specs' into devRaimo Niskanen
* ks/auth-specs: auth: Fix types and specs
2010-07-07Merge branch 'cf/timer_tc' into devRaimo Niskanen
* cf/timer_tc: Add timer:tc/2 to measure the elapsed time of anonymous functions Conflicts: lib/stdlib/doc/src/timer.xml
2010-07-07Merge branch 'gl/jinterface-pom' into devRaimo Niskanen
* gl/jinterface-pom: Generate pom.xml during jinterface build
2010-07-07Merge branch 'ks/cleanups' into devRaimo Niskanen
* ks/cleanups: compiler: Fix incorrect types and specs escript: Add more types to records debugger: Clean up as suggested by tidier docbuilder: Clean up as suggested by tidier Conflicts: lib/debugger/src/dbg_iload.erl lib/debugger/src/dbg_ui_trace_win.erl
2010-07-06Documentation clarifications for now/0 and timer:tc/3Raimo Niskanen
2010-07-06Fix bug that crashes common_test when running coverPeter Andersson
2010-07-06Bump version numbers for common_test and test_serverPeter Andersson
2010-07-06Add documentation for group specifications and for the label optionPeter Andersson
2010-07-06Improve handling of test case group specificationsPeter Andersson
Still a few things missing: * Documentation * More tests * Fix old broken test cases
2010-07-06Add textured backgound to html log filesPeter Andersson
The overview html log files now have a textured background. This default new look can be switched off with the 'basic_html' option.
2010-07-06Improve handling of test case group specificationsPeter Andersson
2010-07-06Add new option to label test runsPeter Andersson
With the option 'label', the test run gets a user defined name that Common Test prints in the overview log files.
2010-07-06Implement handling of group specificationsPeter Andersson
It's possible now to specify execution of test case groups (and test cases within groups) by means of run_test options and test specification terms. From test specifications, groups (and test cases) may also be skipped. ct_run has been improved to report errors better. New test suites have been introduced.
2010-07-06Fix problem with using the wrong logdir settingPeter Andersson
The default logdir value "." overrides setting in test specification if logdir start flag/option is missing.
2010-07-06Rewrite handling of group definitions in Common Test test suitesPeter Andersson
This is to enable execution of specific groups, and/or test cases within groups, by means of run_test options or test specifications.
2010-07-05term_to_binary use all 32 bits of INTEGER_EXTSverker Eriksson
Earlier, external format INTEGER_EXT was only produced for 28-bit signed integers. Now full 32-bit signed integers are produced as INTEGER_EXT to avoid the more costly SMALL_BIG_EXT format. Both old and new code can read 32-bit INTEGER_EXT. Also fixed integer encoding bugs in erl_interface erl_encode/erl_decode. (Thanks to Alexander Demidenko for reporting)
2010-07-05gen_sctp: Fix documentation typoRaimo Niskanen
2010-06-30Fix bug that caused faulty 64-bit integers from drivers.Sverker Eriksson
2010-06-29Updated version.Ingela Anderton Andin
2010-06-29The server now verifies the client certificate verify message correctly, ↵Ingela Anderton Andin
instead of causing a case-clause.
2010-06-29Merge branch 'ia/ssl/new-doc' into devIngela Anderton Andin
2010-06-28Merge branch 'egil/update-system-vsn' into devBjörn-Egil Dahlberg
2010-06-28Generate pom.xml during jinterface buildGabor Liptak