[all-commits] [llvm/llvm-project] faa019: [libc++] Fix segmentation fault in __do_put_integral

MarcoFalke via All-commits all-commits at lists.llvm.org
Wed Nov 10 12:26:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: faa019c0e38e8cb33d7e7fee92aa548bd052939e
      https://github.com/llvm/llvm-project/commit/faa019c0e38e8cb33d7e7fee92aa548bd052939e
  Author: MarcoFalke <falke.marco at gmail.com>
  Date:   2021-11-10 (Wed, 10 Nov 2021)

  Changed paths:
    M libcxx/include/locale

  Log Message:
  -----------
  [libc++] Fix segmentation fault in __do_put_integral

6 chars are not sufficient to represent all formats for 64 bit integers.

This was accidentally introduced in commit b889cbf36635a302f5b77560f1769178f196c2c7 (https://reviews.llvm.org/D112830).

This causes failures in downstream projects, for example:

* https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40817
* https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40841

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




More information about the All-commits mailing list