diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-07 13:22:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-07 13:44:04 +0100 |
commit | 967ea727c7f2c954ee8ac33a888718d8dac11837 (patch) | |
tree | 4410d572dfcbd6a594ffec8750223a27e470b58e /vcl/source | |
parent | a614568c4356fe37ba132972e6f3649d606e2c9a (diff) |
afl-eventtesting: lets ditch the key repeat and timestamp fields
time stamp doesn't matter apparently for keyboard events
so ditching it gives less surface area to fuzz
repeat showed some interesting effects, but mostly just allows
vast paragraphs to be generated causing timeout hangs which isn't
what I'm super interested in right now.
Change-Id: I955b91745a26d5044f0d53acd3fda0a160e53855
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/app/svapp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index 7fb612bed1d9..c797d00b870d 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -336,10 +336,10 @@ namespace return false; SalKeyEvent aKeyEvent; - rStream.ReadUInt64(aKeyEvent.mnTime); + aKeyEvent.mnTime = 0; rStream.ReadUInt16(aKeyEvent.mnCode); rStream.ReadUInt16(aKeyEvent.mnCharCode); - rStream.ReadUInt16(aKeyEvent.mnRepeat); + aKeyEvent.mnRepeat = 0; if (!rStream.good()) return false; |