FS#31832 - [dunst] Segfault when geometry height is set to 1

Attached to Project: Community Packages
Opened by Patrick Steinhardt (pks) - Sunday, 07 October 2012, 16:13 GMT
Last edited by Daniel Wallace (gtmanfred) - Saturday, 09 February 2013, 22:34 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Daniel Wallace (gtmanfred)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

If geometry is set to a height of 1 dunst will segfault when there are multiple messages to display. The attached patch (retrieved from upstream commit) fixes the problem.

Additional info:
* happens with dunst-0.4.0-1
* fixed in upstream commit [1]

Steps to reproduce:

* set geometry=0x1+0+0, where zeroes may be anything
* start dunst
* notify-send two messages
* dunst crashes

[1]: https://github.com/knopwob/dunst/commit/f48522a322c37b7ae13e120580f9fdddff5d46a8
This task depends upon

Closed by  Daniel Wallace (gtmanfred)
Saturday, 09 February 2013, 22:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.5.0
Comment by Daniel Wallace (gtmanfred) - Sunday, 04 November 2012, 04:30 GMT
I cannot reproduce this error
Comment by Alexander F. Rødseth (xyproto) - Monday, 12 November 2012, 19:26 GMT
@pks Are you on i686 or x86_64?
Comment by Patrick Steinhardt (pks) - Monday, 12 November 2012, 19:36 GMT
I'm on x86_64. I'm attaching my dunstrc so you can hopefully reproduce the segfault.
Comment by Franck Michea (kushou) - Saturday, 17 November 2012, 00:41 GMT
I can reproduce this bug on my arch x86_64 using the configuration file. Obviously changing geometry to something else than 1 fixes the issue, and using the patch too. There wasn't any release yet of dunst since the patch. Asked on IRC how things should be done, I guess this is your part gtmanfred (patch current package until new release makes patch useless?).

Loading...