Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (0m)  pkgsrc-2024Q1 (8d)  pkgsrc-2023Q4 (55d)  pkgsrc-2023Q2 (88d)  pkgsrc-2023Q3 (167d) 

2024-05-26 10:20:02 UTC Now

2024-04-05 18:52:48 UTC pkgsrc-2024Q1 commitmail json YAML

Pullup ticket #6842 - requested by bouyer
sysutils/xentools415: NetBSD 10 bugfix
sysutils/xentools418: NetBSD 10 bugfix

Revisions pulled up:
- sysutils/xentools415/Makefile                                1.30
- sysutils/xentools415/distinfo                                1.15
- sysutils/xentools415/patches/patch-xen_common_libelf_libelf-loader.c 1.1
- sysutils/xentools418/Makefile                                1.5
- sysutils/xentools418/distinfo                                1.3
- sysutils/xentools418/patches/patch-xen_common_libelf_libelf-loader.c 1.1

---
  Module Name: pkgsrc
  Committed By: bouyer
  Date: Tue Apr  2 22:01:24 UTC 2024

  Modified Files:
  pkgsrc/sysutils/xentools415: Makefile distinfo
  pkgsrc/sysutils/xentools418: Makefile distinfo
  Added Files:
  pkgsrc/sysutils/xentools415/patches:
      patch-xen_common_libelf_libelf-loader.c
  pkgsrc/sysutils/xentools418/patches:
      patch-xen_common_libelf_libelf-loader.c

  Log Message:
  xentools415, xentools418: fix bug in BSD symbol table support for i386:
  When computing the size of the ELF symbol table, the code use
  sizeof(Elf64_Shdr) or sizeof(Elf32_Shdr) depending on the kernel being
  loaded. But later when computing offsets, the code uses
  sizeof(struct elf_sym_header) which contains a union of both Shdr. This result
  in an overflow of 64 bytes. Fortunably the code checks the size being copied
  with the allocated size and silently ignores the copy if there isn't enough
  space. Fortunably as well, the allocated size is rounded up to the next page
  boundary, so most of the time there is enough space. Unfortunably, the official
  i386 GENERIC kernel from the 10.0 release has the right size to trigger
  this bug.
  Bump PKGREVISION.

(bsiegert)