xmacroplay reads KeyCodePress/Release code to char type variable but expect string to integer parsing

Bug #1590600 reported by Pauli on 2016-06-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xmacro (Ubuntu)

Bug Description

KeyCodePress and KeyCodeRelease commands to xmacroplay fail to parse sainly because data is read to char variable that doesn't do integer parsing. Switching read to integer variable and then assigned to char variable makes parsing work correctly.

Attached patch fixes the bug.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xmacro 0.3pre-20000911-6
ProcVersionSignature: Ubuntu 4.4.0-22.40-generic 4.4.8
Uname: Linux 4.4.0-22-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: LXDE
Date: Thu Jun 9 02:12:43 2016
SourcePackage: xmacro
UpgradeStatus: Upgraded to xenial on 2014-07-15 (694 days ago)

Pauli (paniemin) wrote :
Pauli (paniemin) wrote :

The attachment "Fix for the bug" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers