From nobody Sat Dec 31 01:43:07 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NkPz01gHPz2l3bb for ; Sat, 31 Dec 2022 01:43:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NkPyz62knz49wW for ; Sat, 31 Dec 2022 01:43:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672450987; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OPKFZj2e24++5I0NalPF+br5jny+jkHPKz34M+uAQkY=; b=ItHAySixU1Q6tN5+qj8e6UasPJWFhKptNogT7t4lZE/3uc0z5UQF19LQb5q3yWIDPsM2aZ fM+OAKXx5ImWZE3EgJOQaVu8gQAMDsoapUR/1xQKxM7GHoSrxhLgUFLRvid6+zayF4NGRy kII5EZr8XC6NoiQG32HZfSfYlE5WQwMakvAh5Ky6aKtAq+FK5g0rU2kscvmUe05ENJYMlO wO+KZsz9nq9E9sxxNwaBW14TYjDuHOs5VPeLBhcUWnpke+U9P+5G5Gi/E/qlP5M/oloHgv qPFhGI7QOqzwDPLWkiLHC8Q457+C7z1toSYjrwpp5595Uo8HWzscc+69unOZ1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672450987; a=rsa-sha256; cv=none; b=yOGG4D37OgPoU/oKWr3Ei0GitQzUqiyyYhpgO+Ytvhf+UxLPufKSCVoXTkp/30K+pMsbRt NoA5+YEHj3s8zxqLmfO2yQ0brjocUchiIFn5/I2l6frXt1/NtcnYOU7AMHtlI8aobBtqE+ fAh3QiWlkO2UJUAa1KT/6EBzvm7gzw9dVP/8Lv37UTnyOvfGBtUYDzYC06PffALT81rvZZ SxXrX3clz5T5oh6LmjTu2OAKnlmTOT99RCIixVhKAuiQjWqSiqkyn6ObBLEEyJjKRkCTpA aYrbfE5Q0zsqHs7MHFrxbqtJtGOKWDxTRg3XFwKzu6dvj2AntqoQtWRdZ3ADwA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NkPyz56v4zW2Z for ; Sat, 31 Dec 2022 01:43:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BV1h7No026902 for ; Sat, 31 Dec 2022 01:43:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BV1h75n026901 for ports-bugs@FreeBSD.org; Sat, 31 Dec 2022 01:43:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268661] Accrete segfaults when it attempts to write to file without permissions Date: Sat, 31 Dec 2022 01:43:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eylusion@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N 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.=