diff options
author | chriseth <chris@ethereum.org> | 2016-11-25 22:59:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-25 22:59:35 +0800 |
commit | 721b6a969685e99078e296d88135ef84f6c001eb (patch) | |
tree | a3760ca2c2ff8dfd278de16cb09ccad1f7b2a3e5 /libdevcore/UTF8.h | |
parent | d52f191fec432e7503fadb0f24c562951638627b (diff) | |
parent | da566b956e15d1b3b44fd1f3a9dccaee2b7f8b41 (diff) | |
download | dexon-solidity-721b6a969685e99078e296d88135ef84f6c001eb.tar dexon-solidity-721b6a969685e99078e296d88135ef84f6c001eb.tar.gz dexon-solidity-721b6a969685e99078e296d88135ef84f6c001eb.tar.bz2 dexon-solidity-721b6a969685e99078e296d88135ef84f6c001eb.tar.lz dexon-solidity-721b6a969685e99078e296d88135ef84f6c001eb.tar.xz dexon-solidity-721b6a969685e99078e296d88135ef84f6c001eb.tar.zst dexon-solidity-721b6a969685e99078e296d88135ef84f6c001eb.zip |
Merge pull request #1439 from ethereum/utf
Disallow conversion of string literal into strings when the literal is not a valid UTF-8
Diffstat (limited to 'libdevcore/UTF8.h')
-rw-r--r-- | libdevcore/UTF8.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdevcore/UTF8.h b/libdevcore/UTF8.h index 3e39273c..9bdc2b4f 100644 --- a/libdevcore/UTF8.h +++ b/libdevcore/UTF8.h @@ -29,7 +29,7 @@ namespace dev { /// Validate an input for UTF8 encoding -/// @returns true if it is invalid and the first invalid position in invalidPosition +/// @returns false if it is invalid and the first invalid position in invalidPosition bool validate(std::string const& _input, size_t& _invalidPosition); } |