Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 9, 2011
  1. fix compilations that require special LDFLAGS in linux

    Samuel Rivas authored
    Fix xcompilation for mipsel using codesourcery toolchain. To compile for mipsel
    you must pass the -EL flag to both the compiler and the linker. Without this
    patch, DED are compiled for little endian and then tried to link for big-endian
Commits on Aug 8, 2011
  1. @proxyles

    Merge branch 'hl/gen_fsm-return' into dev

    proxyles authored
    * hl/gen_fsm-return:
      Fix minor typo in gen_fsm documentation
    
    OTP-9456
  2. @proxyles

    Merge branch 'ms/inet-socket-domain-error' into dev

    proxyles authored
    * ms/inet-socket-domain-error:
      inet: error if fd does not match socket domain
    
    OTP-9455
  3. @proxyles

    Merge branch 'cg/fix-constant-logical-operand' into dev

    proxyles authored
    * cg/fix-constant-logical-operand:
      Fix use of logical operator && with constant operand instead of bitwise &.
    
    OTP-9454
  4. @proxyles

    Merge branch 'pg/fix-freebsd-dualcore-detection' into dev

    proxyles authored
    * pg/fix-freebsd-dualcore-detection:
      Fix bug in FreeBSD topology detection code
    
    OTP-9453
  5. @proxyles

    Merge branch 'pg/fix-hibernate-scheduling-with-hipe' into dev

    proxyles authored
    * pg/fix-hibernate-scheduling-with-hipe:
      Fix bug related to hibernate and HiPE (clear F_HIBERNATE_SCHED flag)
    
    OTP-9452
  6. @proxyles
Commits on Aug 5, 2011
  1. @bjorng

    Merge branch 'bjorn/erts/loader-related-bs-bugs/OTP-9284' into dev

    bjorng authored
    * bjorn/erts/loader-related-bs-bugs/OTP-9284:
      Fix binary construction with huge literal sizes
      beam_load.c: Add overflow check of tag values
      beam_makeops: Add some sanity checks
      Fix construction of <<0:((1 bsl 32)-1)>>
Commits on Aug 3, 2011
  1. @bjorng

    Fix binary construction with huge literal sizes

    bjorng authored
    Constructing binaries using the bit syntax with literals sizes
    that would not fit in an Uint will either cause an emulator crash
    or the loading to be aborted.
    
    Use the new TAG_o tag introduced in the previous commit to make sure
    that the attempt to create huge binary literals will generate a
    system_limit exception at run-time.
  2. @bjorng

    beam_load.c: Add overflow check of tag values

    bjorng authored
    The handling of large values for other tags than TAG_i (integer) is
    buggy.  Any tag value equal to or greater than 2^40 (5 bytes) will
    abort loading.  Tag values fitting in 5 bytes will be truncated to 4
    bytes values.
    
    Those bugs cause real problems because the bs_init2/6 and
    bs_init_bits/6 instructions unfortunately use TAG_u to encode literal
    sizes (using TAG_i would have been a better choice, but it is too late
    to change that now).  Any binary size that cannot fit in an Uint
    should cause a system_limit exception at run-time, but instead the
    buggy handling will either cause an emulator crash (for values in the
    range 2^32 to 2^40-1) or abort loading.
    
    In this commit, implement overflow checking of tag values as a
    preparation for fixing the binary construction instructions.  If any
    tag value cannot fit in an Uint (except for TAG_i), change the
    tag to the special TAG_o overflow tag.
  3. @bjorng

    beam_makeops: Add some sanity checks

    bjorng authored
    We want to make sure that a tag/type name is not defined more than
    once and that we don't define too many primitive tags. Primitive
    tags must be named with lowercase letters (or they will be confused
    with variable names in transformations in the ops.tab file).
  4. @bjorng

    Fix construction of <<0:((1 bsl 32)-1)>>

    bjorng authored
    Attempting to construct <<0:((1 bsl 32)-1)>>, the largest bitstring
    allowed in a 32 bit emulator, would cause an emulator crash because
    of integer overflow.
    
    Fix the problem by using an Uint64 to avoid integer overflow.
    Do not attempt to handle construction of <<0:((1 bsl 64)-1>> in
    a 64-bit emulator, because that will certainly cause the emulator
    to terminate anyway because of insufficient memory.
Commits on Jul 29, 2011
  1. @sverker

    Merge branch 'sverker/allocator-aoff/OTP-9424' into dev

    sverker authored
    * sverker/allocator-aoff/OTP-9424:
      New allocator: Address order first fit (aoff)
Commits on Jul 27, 2011
  1. @sverker

    Merge branch 'sverker/fun_SUITE-refc_dist-gcfix' into dev

    sverker authored
    * sverker/fun_SUITE-refc_dist-gcfix:
      Fix test case fun_SUITE:refc_dist
  2. @sverker

    Merge branch 'sverker/epmd-vxworks-select-bug/OTP-9427' into dev

    sverker authored
    * sverker/epmd-vxworks-select-bug/OTP-9427:
      Fix epmd crash on vxworks caused by faulty argument to select
  3. @sverker

    Fix epmd crash on vxworks caused by faulty argument to select

    sverker authored
    The first argument g->max_conn to select() in epmd_srv.c seems to be
    wrong as it excludes the listening socket(s). Instead we keep track of
    the highest fd seen.
    
    However I still don't understand why select() started to fail for
    vxworks with R14B03 when the feature of more than one listening socket
    was introduced. The default is still 1 listening socket (num_sockets=1),
    which would make the first argument to select() unchanged.
Commits on Jul 26, 2011
  1. @bmk

    Merge branch 'maint-r14' into dev

    bmk authored
    Conflicts:
    	lib/snmp/doc/src/notes.xml
    	lib/snmp/src/agent/snmpa_mpd.erl
    	lib/snmp/src/app/snmp.appup.src
    	lib/snmp/vsn.mk
  2. @sverker

    Merge branch 'sverker/testcase/OTP-9422' into dev

    sverker authored
    * sverker/testcase/OTP-9422:
      Test case for OTP-9422
  3. @sverker

    Merge branch 'sverker/testcase/OTP-9423' into dev

    sverker authored
    * sverker/testcase/OTP-9423:
      Add test case for ETS bug OTP-9423
  4. @sverker

    Merge branch 'sverker/sbmbc-fixup' into dev

    sverker authored
    * sverker/sbmbc-fixup:
      Small fixups for rickard/sbmbc/OTP-9339
  5. @sverker

    Fix test case fun_SUITE:refc_dist

    sverker authored
    It failed sometimes depending on GC invocation.
Commits on Jul 22, 2011
  1. Merge branch 'bmk/snmp/snmp421_integration' into maint-r14

    Erlang/OTP authored
    * bmk/snmp/snmp421_integration:
      Fixed install directory typo for man3. Peter Lemenkov. Hans Ulrich Niedermann.
      The snmp config tool could not handle (manager) audit trail config because the option seqno was not handled. OTP-9354
      [agent] The SNMP ACM cache was not properly updated when changes where made to the VACM security-to-group, access and view-tree-family tables. OTP-9367
      Added marker id's in the snmpc(command) to allow linking top specific compiler options. Updated release notes accordingly. OTP-9437
      [manager] There was no way to specify transport domain. The transport domains was assumed to be IPv4 (transportDomainUdpIpv4). This has now been changed so that it can also be IPv6 (transportDomainUdpIpv6). To facilitate this, the transport domain, tdomain, is now a (new) valid option when registering (snmpm#register_agent) a new agent (and updating (snmpm#update_agent_info) agent info). This also mean that the transport behaviour has changed. Fixed appup file. OTP-9305
      [compiler] Make documentation for the snmpc escript regarding the the new option for warnings as errors ("--wae" in this case). Tuncer Ayaz. OTP-9437
      [compiler] Added the option warnings_as_errors which specifies whether warnings should be treated as errors. Tuncer Ayaz. OTP-9437
      Fixed unintended build to ebin dir of snmpc escript.
      Cosmetics indenting...
      Removed "crap" that somehow had gotten into the file (escape sequence).
      Fixed install of MIB compiler escript. Was incorrectly installed both in bin end ebin.
      Fixed (uncommented) test cases.
      Improved (transport) domain error reporting.
      Fixed release notes and API documentation for tdomain.xs
      transport domain config option named tdomain. Removed debug printouts. transport domain error detection.
      [manager] No way to specify transport domain. Transport domains was assumed to be IPv4. This has now been changed so that it can also be IPv6. To facilitate this, the transportDomain is now a (new) valid option. This also mean that the transport behaviour has changed. OTP-9305
      Updated version.
      [agent] Did not handle transport domains properly in some cases. OTP-9400
      Utility make target for cleanig the repo...
      ...
  2. @bmk

    Fixed install directory typo for man3.

    bmk authored
    Peter Lemenkov
    Hans Ulrich Niedermann
    
    OTP-9442
    
    Merge branch 'bmk/snmp/install_dir_typo_man3/OTP-9442' into bmk/snmp/snmp421_integration
    
    Conflicts:
    	lib/snmp/doc/src/notes.xml
  3. @bmk

    Fixed install directory typo for man3.

    bmk authored
    Peter Lemenkov.
    Hans Ulrich Niedermann.
    
    OTP-9442
  4. @RaimoNiskanen

    Merge branch 'raimo/io_lib_fread/OTP-9439' into dev

    RaimoNiskanen authored
    * raimo/io_lib_fread/OTP-9439:
      Code cleanup, unduplicate test for whitespace
      EOF before first field is only ok for first character in io:fread
      At end of input ask for more also for for literal format characters
  5. @sverker

    Test case for OTP-9422

    sverker authored
  6. @bmk

    [agent] The SNMP ACM cache was not properly updated when

    bmk authored
    changes where made to the VACM security-to-group, access and
    view-tree-family tables.
    
    OTP-9367
    
    Merge branch 'bmk/snmp/agent/acm_cache_cleanup/OTP-9367' into bmk/snmp/snmp421_integration
    
    Conflicts:
    	lib/snmp/doc/src/notes.xml
    	lib/snmp/src/app/snmp.appup.src
Commits on Jul 21, 2011
  1. @RaimoNiskanen
  2. @bmk

    The snmp config tool could not handle (manager) audit trail config

    bmk authored
    because the option seqno was not handled.
    
    OTP-9354
    
    Merge branch 'bmk/snmp/audit_trail_config_bug/OTP-9354' into bmk/snmp/snmp421_integration
    
    Conflicts:
    	lib/snmp/doc/src/notes.xml
    	lib/snmp/src/app/snmp.appup.src
  3. @bmk

    The snmp config tool could not handle (manager) audit trail config

    bmk authored
    because the option seqno was not handled.
    OTP-9354
  4. @RaimoNiskanen
  5. @RaimoNiskanen
  6. @bmk

    [agent] The SNMP ACM cache was not properly updated when

    bmk authored
    changes where made to the VACM security-to-group, access and
    view-tree-family tables.
    OTP-9367
Commits on Jul 20, 2011
  1. @sverker
  2. @sverker

    Small fixups for rickard/sbmbc/OTP-9339

    sverker authored
    alloc_no of sbmbc_low_alloc was set to ERTS_ALC_A_STANDARD_LOW
Something went wrong with that request. Please try again.