[PATCH] D46274: [Support] Harden JSON against invalid UTF-8.

Sam McCall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 2 07:02:24 PDT 2018


sammccall updated this revision to Diff 144879.
sammccall added a comment.

Use existing library code from ConvertUTF for UTF-8 validation.


Repository:
  rL LLVM

https://reviews.llvm.org/D46274

Files:
  include/llvm/Support/JSON.h
  lib/Support/JSON.cpp
  unittests/Support/JSONTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46274.144879.patch
Type: text/x-patch
Size: 9248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180502/ed7def01/attachment.bin>


More information about the llvm-commits mailing list