Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2022 01:43:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268661] Accrete segfaults when it attempts to write to file without permissions
Message-ID:  <bug-268661-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268661

            Bug ID: 268661
           Summary: Accrete segfaults when it attempts to write to file
                    without permissions
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: eylusion@gmail.com
                CC: bofh@freebsd.org

Created attachment 239138
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239138&action=
=3Dedit
git diff of display.c does null check before writing to fp

astro:accrete

display.c

Segmentation Fault occurs if program is executed in a directory without wri=
te
privileges.

Patch provided exits gracefully if *fp is NULL before fprintf's attempt to
write to non-existent file.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268661-7788>