From: zkabelac@sourceware.org <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2 ./WHATS_NEW lib/display/display.c
Date: 13 Feb 2012 14:23:44 -0000 [thread overview]
Message-ID: <20120213142344.32583.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac at sourceware.org 2012-02-13 14:23:42
Modified files:
. : WHATS_NEW
lib/display : display.c
Log message:
Never try to test character past given buffer
In case units[0] would be already '\0', do not check units[1].
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.2291&r2=1.2292
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/display/display.c.diff?cvsroot=lvm2&r1=1.128&r2=1.129
--- LVM2/WHATS_NEW 2012/02/13 13:02:47 1.2291
+++ LVM2/WHATS_NEW 2012/02/13 14:23:40 1.2292
@@ -1,5 +1,6 @@
Version 2.02.92 -
====================================
+ Properly test buffer for unit check in units_to_bytes().
Add configure --with-systemdsystemunitdir.
Add check for allocation failure in _build_matcher().
Add check for rimage name allocation failure in _raid_add_images().
--- LVM2/lib/display/display.c 2012/01/26 14:02:43 1.128
+++ LVM2/lib/display/display.c 2012/02/13 14:23:41 1.129
@@ -60,7 +60,7 @@
v = 1;
/* Only one units char permitted. */
- if (*(units + 1))
+ if (units[0] && units[1])
return 0;
if (v == 1)
next reply other threads:[~2012-02-13 14:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-13 14:23 zkabelac [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-11-23 1:34 LVM2 ./WHATS_NEW lib/display/display.c agk
2009-11-03 10:50 zkabelac
2009-09-30 14:19 agk
2009-09-28 16:36 agk
2007-05-31 14:19 wysochanski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120213142344.32583.qmail@sourceware.org \
--to=zkabelac@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.