node/test
Ben Noordhuis 6327d67be3 crypto: fix assert() on malformed hex input
Use the StringBytes::IsValidString() function introduced in commit
dce26cc to ensure that the input string meets the expectations of the
other StringBytes functions before processing it further.

Fixes the following assertion:

    Assertion failed: (str->Length() % 2 == 0 && "invalid hex string
    length"), function StorageSize, file ../../src/string_bytes.cc,
    line 301.

Fixes #5725.
2013-07-30 14:34:19 +02:00
..
addons test: modify async native test.js to test for #4820 2013-02-21 13:14:07 -08:00
disabled Merge remote-tracking branch 'ry/v0.8' into master 2013-02-18 10:21:08 -08:00
fixtures debugger: breakpoints in scripts not loaded yet 2013-05-02 08:52:58 +02:00
gc test: use the debug build of node-weak when necessary 2012-06-13 17:58:28 -07:00
internet test: move two tests from simple/ to internet/ 2013-07-20 12:36:33 +02:00
message process: separate nextTick domain logic 2013-02-27 16:37:10 -08:00
pummel test: fix pummel/test-net-many-clients.js 2013-05-08 19:31:45 -07:00
simple crypto: fix assert() on malformed hex input 2013-07-30 14:34:19 +02:00
common.js test: optionally set common.PORT via env variable 2013-03-02 19:09:39 +01:00