RfidResearchGroup / proxmark3

Iceman Fork - Proxmark3
http://www.icedev.se
GNU General Public License v3.0
3.62k stars 979 forks source link

Segfault in Graph Window when clicking outside plotting area #2374

Open jlitewski opened 2 months ago

jlitewski commented 2 months ago

Describe the bug Found by gentilkiwi on the discord. Clicking in the graph window, outside of the plotting area, has the potential to cause a SEGFAULT due to an overflow of the Graph Buffer array.

To Reproduce

  1. data load -f traces/lf_TI
  2. data plot
  3. Click just to the left of the plotting area

Expected behavior The application not throwing a SEGFAULT

Additional context Pull Request #2373 fixes said issue