Bug#470882: /dev/gpmctl freezes acknowledge

Samuel Thibault samuel.thibault at ens-lyon.org
Mon Nov 24 00:29:17 UTC 2008


clone 470882 -1
reassign -1 aalib
tags -1 - patch
retitle -1 aalib should check the value returned by Gpm_GetEvent()
thanks

Gerfried Fuchs, le Sat 22 Nov 2008 17:44:07 +0100, a écrit :
>  Not sure what other applications might be affected by it and should get
> addressed, too ...

aalib is affected too.

Reading the documentation of Gpm_GetEvent:

« It returns 1 on success, -1 on failure, and 0 after closing the connection. »

aalib doesn't properly check that.  It should and for instance call
gpm_uninit in that case.

Samuel





More information about the pkg-gpm-devel mailing list