rsrteam / proxmark3

Automatically exported from code.google.com/p/proxmark3
0 stars 0 forks source link

Patch that fix most "data plot" crashes #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./proxmark3 
2. data plot
3. ##segfault## (1 out of 3)

Without this patch I get a segfault every 3 "data plot" command (with or 
without data in GraphBuffer[]). My system is x86_64.

Here is the patch:
####################################
Index: proxguiqt.cpp
===================================================================
--- proxguiqt.cpp       (revision 465)
+++ proxguiqt.cpp       (working copy)
@@ -282,6 +282,8 @@
        palette.setColor(QPalette::Button, QColor(100, 100, 100));
        setPalette(palette);
        setAutoFillBackground(true);
+       CursorAPos = 0;
+       CursorBPos = 0;
 }

 void ProxWidget::closeEvent(QCloseEvent *event)
####################################

William

Original issue reported on code.google.com by william.robinet on 13 Dec 2010 at 9:25

GoogleCodeExporter commented 8 years ago
Thanks for your patch, I also managed to reproduce the crash on x86_64. I 
tested and committed the changes as r554.

Original comment by dn3...@gmail.com on 7 Jun 2012 at 2:02