From: Jean-Philippe Orsini Date: Mon, 4 Aug 2014 21:18:59 +0000 (+0200) Subject: Fixed notification script call (wrong allocation of command string). X-Git-Tag: v1.1.1~29 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=609f0751683c4811a5886d55edff72698791ee18 Fixed notification script call (wrong allocation of command string). --- diff --git a/NEWS b/NEWS index a92d0d4..d34db28 100644 --- a/NEWS +++ b/NEWS @@ -12,6 +12,7 @@ v1.1.1 * Added menu separator for the application indicator menu between sensor items and preferences. * Fixed check of sensors/error.h. +* Fixed notification script call (wrong allocation of command string). v1.0.3 ------ diff --git a/NEWS.html b/NEWS.html index 6f5744c..15fc541 100644 --- a/NEWS.html +++ b/NEWS.html @@ -412,6 +412,11 @@ Added menu separator for the application indicator menu between Fixed check of sensors/error.h.

+
  • +

    +Fixed notification script call (wrong allocation of command string). +

    +
  • @@ -2684,7 +2689,7 @@ Fixed BR1: crash when no temperature sensor is available

    diff --git a/src/notify_cmd.c b/src/notify_cmd.c index dfc1be1..793903a 100644 --- a/src/notify_cmd.c +++ b/src/notify_cmd.c @@ -38,6 +38,7 @@ void notify_cmd(struct psensor *s) + 1 + strlen(s->id) + 1 + + 1 + strlen(v) + 1);