[all-commits] [llvm/llvm-project] 7f0003: [AIX][BigArchive] Treat the archive is empty if th...

bzEq via All-commits all-commits at lists.llvm.org
Sun Jan 29 22:07:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f0003c19c3a47f484ea9cc929728808b27ace32
      https://github.com/llvm/llvm-project/commit/7f0003c19c3a47f484ea9cc929728808b27ace32
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2023-01-30 (Mon, 30 Jan 2023)

  Changed paths:
    M llvm/include/llvm/Object/Archive.h
    M llvm/lib/Object/Archive.cpp
    A llvm/test/Object/archive-big-malformed-first-member.test
    M llvm/test/Object/archive-big-read-empty-with-freelist.test

  Log Message:
  -----------
  [AIX][BigArchive] Treat the archive is empty if the first child member offset is zero

If the archive contains free list and contains no member file, the buffer length doesn't equal to length of the header.

Reviewed By: Esme, DiggerLin, #powerpc

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




More information about the All-commits mailing list