[all-commits] [llvm/llvm-project] 37ea42: [flang][runtime] Enforce proper termination of lis...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Sep 18 09:57:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37ea42b22c50b220b85e6605496ed9062a754ee9
      https://github.com/llvm/llvm-project/commit/37ea42b22c50b220b85e6605496ed9062a754ee9
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2023-09-18 (Mon, 18 Sep 2023)

  Changed paths:
    M flang/include/flang/Runtime/iostat.h
    M flang/runtime/edit-input.cpp
    M flang/runtime/iostat.cpp

  Log Message:
  -----------
  [flang][runtime] Enforce proper termination of list-directed input va… (#66244)

…lues

Emit an error at runtime when a list-directed input value is not
followed by a value separator or end of record. Previously, the runtime
I/O library was consuming as many input characters that were valid for
the type of the value, and leaving any remaining characters for the next
input edit, if any.




More information about the All-commits mailing list