diff options
author | Björn Gustavsson <[email protected]> | 2010-12-14 15:08:49 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-12-21 11:30:45 +0100 |
commit | b36c9d12d7960c06872d866c25a913eb45b957bc (patch) | |
tree | e659c3058ff5b5d1b0078df2b1d3cd1a1964a49e /erts/emulator/beam/beam_load.h | |
parent | 9f4dd4934d427f0fb2caeb034115e0227cc4610a (diff) | |
download | otp-b36c9d12d7960c06872d866c25a913eb45b957bc.tar.gz otp-b36c9d12d7960c06872d866c25a913eb45b957bc.tar.bz2 otp-b36c9d12d7960c06872d866c25a913eb45b957bc.zip |
Fix type-checking of variable used in zero-width bit syntax construction
<<A:0>> will always produce an empty binary, regardless of the
type of A. The bug is in the run-time system. Fix it so that a
non-numeric value for A will cause a badarg exception.
Reported-by: Zvi
Diffstat (limited to 'erts/emulator/beam/beam_load.h')
0 files changed, 0 insertions, 0 deletions