epezent / implot

Immediate Mode Plotting
MIT License
4.65k stars 517 forks source link

Fixed couple invalid memory access errors #365

Closed rokups closed 2 years ago

rokups commented 2 years ago

Fix freed memory read error in AddTicksTime(). Invalid read occurred when LabelTickTime() resizes ticks.TextBuffer while last_major held pointer pointing into old now freed buffer.

Fixed a warning about condition depending on uninitialized ImPlotLegend::PreviousLocation.