[all-commits] [llvm/llvm-project] b4e552: [libc] Fix printf long double inf, bitcast in msan...

michaelrj-google via All-commits all-commits at lists.llvm.org
Tue Oct 24 15:42:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4e552999de518a1d006c7b84f94491beeb4092c
      https://github.com/llvm/llvm-project/commit/b4e552999de518a1d006c7b84f94491beeb4092c
  Author: michaelrj-google <71531609+michaelrj-google at users.noreply.github.com>
  Date:   2023-10-24 (Tue, 24 Oct 2023)

  Changed paths:
    M libc/src/__support/CPP/CMakeLists.txt
    M libc/src/__support/CPP/bit.h
    M libc/src/stdio/printf_core/float_inf_nan_converter.h
    M libc/test/src/stdio/sprintf_test.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc] Fix printf long double inf, bitcast in msan (#70067)

These bugs were found with the new printf long double fuzzing. The long
double inf vs nan bug was introduced when we changed to
get_explicit_exponent. The bitcast msan issue hadn't come up previously,
but isn't a real bug, just a poisoning confusion.




More information about the All-commits mailing list