https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241178
Bug ID: 241178 Summary: makefs segfault when manifest include symlinks without the link keyword Product: Base System Version: 12.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: sh...@fsfe.org Created attachment 208226 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=208226&action=edit link type require the link keyword With a directory d/ containing the following 2 files: -rw-r--r-- 1 root wheel 14 Oct 10 11:55 hello.txt lrwxr-xr-x 1 root wheel 9 Oct 10 11:55 world.txt -> hello.txt using mtree to build a manifest as follow: mtree -ck mode -p ./d | mtree -C > no-link-kw.makefs-manifest here is the resulting manifest: . type=dir mode=0755 ./hello.txt type=file mode=0644 ./world.txt type=link mode=0755 running makefs as follow lead to segfault: cd d makefs -t ffs -o optimization=space -o version=2 ../no-link-kw.img ../no-link-kw.makefs-manifest Attached is a small fix that ensure makefs will complain about the missing link keyword when facing a link type node. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"