ploot

plot images or real-time plain text from a .csv file
Log | Files | Refs | README

commit ebff9e927a35af076a55e62732001c860c883244
parent 3b39b0db61c4795ea3c0af49b0c2151585e502b6
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat,  3 Feb 2018 23:43:37 +0100

fixing buffer overflow

Diffstat:
Mploot.c | 2+-
Mploot.core | 0
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/ploot.c b/ploot.c @@ -141,7 +141,7 @@ ring_add(double *ring, size_t len, size_t pos, double val) { *ring = val; - return (pos >= len) ? pos + 1 : 0; + return (pos < len) ? pos + 1 : 0; } /* diff --git a/ploot.core b/ploot.core Binary files differ.