mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #1493] If we dont build with github action, app can easily crash #1054
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1054
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cyrinux on GitHub (Nov 20, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1493
Hi,
In case for whatever reason we rebuild in piggy way, the code is weak in the main.go for the commit sha reading that can easily lead to overflow and crash.
The culprit is the
commit[:7], in my case the main issue was my git version which crash, goreleaser continue and so set the commit and tags to "none". Thus at start the app try to do"none"[:7]and crash.Can we make the code more robust with something like:
@binwiederhier commented on GitHub (Feb 4, 2026):
This was fixed as part of
github.com/binwiederhier/ntfy@856f150958