[PATCH] D51268: [libc++] Implement P0487R1 - Fixing operator>>(basic_istream&, CharT*)

Zhihao Yuan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 25 23:04:16 PDT 2018


lichray created this revision.
lichray added reviewers: mclow.lists, ldionne.
Herald added a reviewer: EricWF.
Herald added a subscriber: christof.

Avoid buffer overflow by replacing the pointer interface with an array reference interface in C++2a.
Tentatively ready on Batavia2018.

https://wg21.link/lwg2499
 https://wg21.link/p0487


Repository:
  rCXX libc++

https://reviews.llvm.org/D51268

Files:
  include/istream
  test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/signed_char_pointer.pass.cpp
  test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/unsigned_char_pointer.pass.cpp
  test/std/input.output/iostream.format/input.streams/istream.formatted/istream_extractors/wchar_t_pointer.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51268.162577.patch
Type: text/x-patch
Size: 7433 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180826/f3e3c4fd/attachment-0001.bin>


More information about the cfe-commits mailing list