Bug 2241662 - gcal always crashes due to buffer overflow
Summary: gcal always crashes due to buffer overflow
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gcal
Version: 38
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Daiki Ueno
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-01 20:20 UTC by rhbz
Modified: 2023-11-18 01:37 UTC (History)
2 users (show)

Fixed In Version: gcal-4.1-24.fc38 gcal-4.1-25.fc39
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-18 01:26:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
stacktrace (1.37 KB, text/plain)
2023-10-01 20:21 UTC, rhbz
no flags Details

Description rhbz 2023-10-01 20:20:37 UTC
gcal no longer works as of fedora 38, possibly due to the stricter FORTIFY_SOURCE as suggested here: https://discussion.fedoraproject.org/t/gcal-throws-buffer-overflow-detected-terminated-error/84972

when executed normally, it immediately fails with `*** buffer overflow detected ***: terminated`

when executed under gdb or strace, the program sometimes works as intended; currently crashes at 2023-10-01T20:15:01Z on a fully updated fedora 38 x86_64

Reproducible: Always

Steps to Reproduce:
1. run gcal
Actual Results:  
the program crashes with *** buffer overflow detected ***: terminated

Expected Results:  
show this month's calendar

Comment 1 rhbz 2023-10-01 20:21:21 UTC
Created attachment 1991488 [details]
stacktrace

Comment 2 Fedora Update System 2023-11-09 02:46:34 UTC
FEDORA-2023-997de7698a has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-997de7698a

Comment 3 Fedora Update System 2023-11-09 02:46:37 UTC
FEDORA-2023-e964b08b38 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e964b08b38

Comment 4 Fedora Update System 2023-11-10 02:18:11 UTC
FEDORA-2023-e964b08b38 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e964b08b38`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e964b08b38

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-11-10 03:01:19 UTC
FEDORA-2023-997de7698a has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-997de7698a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-997de7698a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-11-18 01:26:02 UTC
FEDORA-2023-997de7698a has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2023-11-18 01:37:46 UTC
FEDORA-2023-e964b08b38 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.