diff options
| author | Mike Sassak <[email protected]> | 2013-09-13 16:37:50 -0700 |
|---|---|---|
| committer | Mike Sassak <[email protected]> | 2013-09-20 19:22:59 -0700 |
| commit | 17f6fd613e8b7039526fbb063c6751fc0c2008c3 (patch) | |
| tree | e942e9547298ff895b8b6d4aaf74bbe3dee1f4c9 /lib/stdlib/test | |
| parent | 589a9ed126d205007e79c22053d1b156a383d99f (diff) | |
| download | otp-17f6fd613e8b7039526fbb063c6751fc0c2008c3.tar.gz otp-17f6fd613e8b7039526fbb063c6751fc0c2008c3.tar.bz2 otp-17f6fd613e8b7039526fbb063c6751fc0c2008c3.zip | |
Check all pattern arguments passed to binary:matches/2
Including an empty binary as one of multiple patterns passed to
binary:matches/2 would crash BEAM with: "Cannot reallocate
1342177280 bytes of memory (of type "tmp")". This ensures each pattern
is valid before trying to match.
Diffstat (limited to 'lib/stdlib/test')
0 files changed, 0 insertions, 0 deletions
