evemu-record segfault when not using stdout

Bug #1080720 reported by Benjamin Tissoires
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evemu
Triaged
High
Stephen M. Webb

Bug Description

Hi,

when using:
$ evemu-record /dev/input/event21 record.txt

And hitting Ctrl-C, the program segfault, because it tries to close two times the output file descriptor.

Attached is a patch that solves the problem.

Cheers,
Benjamin

Related branches

Revision history for this message
Benjamin Tissoires (tissoire) wrote :
summary: - evemu-record segfautl when not using stdout
+ evemu-record segfault when not using stdout
Stephen M. Webb (bregma)
Changed in evemu:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Stephen M. Webb (bregma)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.