ext2fs: Regular files are incorrectly reported as fifo's.#34
Closed
holovati wants to merge 1 commit intoNetBSD:trunkfrom
holovati:patch-1
Closed
ext2fs: Regular files are incorrectly reported as fifo's.#34holovati wants to merge 1 commit intoNetBSD:trunkfrom holovati:patch-1
holovati wants to merge 1 commit intoNetBSD:trunkfrom
holovati:patch-1
Conversation
Author
netbsd-srcmastr
pushed a commit
that referenced
this pull request
Sep 24, 2025
usr.bin/elf2ecoff/elf2ecoff.c: revision 1.37 usr.bin/elf2ecoff/elf2ecoff.c: revision 1.38 elf2ecoff: fix PR port-pmax/59234: "buffer overflow detected" problem. Explicitly calculate a size of the target ECOFF string table before copying symbol strings, as suggested by mlelstv@. Tested "build.sh -U -m pmax release" on ubuntu 24.04.2: --- % ./nbmips-elf2ecoff netboot.elf netboot combining PH 0 type 1 flags 0x7 with data, ndata = 73568, nbss =1392 skipping PH 1 type 0x70000000 flags 0x4 skipping PH 2 type 0x70000003 flags 0x4 wrote 20 byte file header. wrote 56 byte a.out header. wrote 240 bytes of section headers. wrote 4 byte pad. writing 73568 bytes... writing syms at offset 0x12100 2605 (0xa2d) bytes ELF string table 2705 (0xa91) bytes required for ECOFF string table 2705 (0xa91) bytes used for ECOFF string table writing symhdr for 258 entries at offset 0x120a0 ECOFF symhdr: symhdr 60, strsize a91, symsize 1020 --- s/estimate/compute/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes kern/58018