From 5ae1ed39658d95d26fd5b0af235b1b72d7205015 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Thu, 3 May 2018 18:41:51 +0200 Subject: more off-by-ones :( --- snooze.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snooze.c b/snooze.c index ef97098..c08cdc3 100644 --- a/snooze.c +++ b/snooze.c @@ -140,8 +140,8 @@ parse(char *expr, char *buf, long bufsiz, int offset) } char weekday[8] = {0}; -char dayofmonth[31] = {0}; -char month[12] = {0}; +char dayofmonth[32] = {0}; +char month[13] = {0}; char dayofyear[367] = {0}; char weekofyear[54] = {0}; char hour[24] = {0}; -- cgit v1.2.3