[all-commits] [llvm/llvm-project] 4ff70d: [libc++] Fix undefined behavior in `std::filebuf`

FabianWolff via All-commits all-commits at lists.llvm.org
Thu Apr 14 07:21:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ff70dba3839ce9510499a79f93522b67cab504c
      https://github.com/llvm/llvm-project/commit/4ff70dba3839ce9510499a79f93522b67cab504c
  Author: Fabian Wolff <fabian.wolff at alumni.ethz.ch>
  Date:   2022-04-14 (Thu, 14 Apr 2022)

  Changed paths:
    M libcxx/include/fstream
    M libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/nonmember_swap.pass.cpp
    A libcxx/test/std/input.output/file.streams/fstreams/filebuf.assign/nonmember_swap_min.pass.cpp

  Log Message:
  -----------
  [libc++] Fix undefined behavior in `std::filebuf`

Fixes https://github.com/llvm/llvm-project/issues/49267.
Fixes https://github.com/llvm/llvm-project/issues/49282.
Fixes https://github.com/llvm/llvm-project/issues/49789.

Reviewed By: ldionne

Differential Revision: https://reviews.llvm.org/D122257




More information about the All-commits mailing list