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

bzEq via All-commits all-commits at lists.llvm.org
Sun Dec 18 21:19:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b26fe2a3e520a520e785dc6b4e5758b7fde6af9d
      https://github.com/llvm/llvm-project/commit/b26fe2a3e520a520e785dc6b4e5758b7fde6af9d
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M llvm/include/llvm/Object/Archive.h
    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