[all-commits] [llvm/llvm-project] 32334b: [flang][runtime] Fix integer overflow check for FO...

Peter Klausler via All-commits all-commits at lists.llvm.org
Thu Jan 25 17:00:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32334b91922b2c48665d04369b7858324820baa5
      https://github.com/llvm/llvm-project/commit/32334b91922b2c48665d04369b7858324820baa5
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-01-25 (Thu, 25 Jan 2024)

  Changed paths:
    M flang/runtime/format-implementation.h

  Log Message:
  -----------
  [flang][runtime] Fix integer overflow check for FORMATs (#79471)

The code that parses repeat counts, field widths, &c. from FORMAT
strings has an incorrect overflow check, so the maximum integer value is
not accepted. Fix.

Fixes https://github.com/llvm/llvm-project/issues/79255.




More information about the All-commits mailing list