diff options
author | Björn Gustavsson <[email protected]> | 2012-10-30 08:28:11 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2012-11-05 12:19:29 +0100 |
commit | 793dd44c6cdb892de9d1b44694fd4069726030cc (patch) | |
tree | bdb14c473ab065fccd2928254e8bc8aed5ea81bd /erts/emulator/test/pseudoknot_SUITE.erl | |
parent | e85c4dda93e416e8e97c0dcfadc5eeaf5bd8b4e1 (diff) | |
download | otp-793dd44c6cdb892de9d1b44694fd4069726030cc.tar.gz otp-793dd44c6cdb892de9d1b44694fd4069726030cc.tar.bz2 otp-793dd44c6cdb892de9d1b44694fd4069726030cc.zip |
Fix binary append exceptions
Code such as the following should cause an exception:
Bin = <<0:1>>,
<<Bin/binary,...>>
(Because the "binary" type implies that the binary must have a
size in bits that is a multiple of 8.)
Depending on the binary, either no exception was thrown or the
wrong exception was thrown (because c_p->freason was not set).
Noticed-by: Adam Rutkowski
Diffstat (limited to 'erts/emulator/test/pseudoknot_SUITE.erl')
0 files changed, 0 insertions, 0 deletions