From: agk@sourceware.org
To: dm-cvs@sourceware.org, dm-devel@redhat.com
Subject: device-mapper ./WHATS_NEW dmsetup/dmsetup.c
Date: 19 Jun 2007 15:47:21 -0000 [thread overview]
Message-ID: <20070619154721.23122.qmail@sourceware.org> (raw)
CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: agk@sourceware.org 2007-06-19 15:47:21
Modified files:
. : WHATS_NEW
dmsetup : dmsetup.c
Log message:
Fix dmsetup -o devno string termination. (1.02.20)
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.187&r2=1.188
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/dmsetup/dmsetup.c.diff?cvsroot=dm&r1=1.92&r2=1.93
--- device-mapper/WHATS_NEW 2007/06/15 20:49:30 1.187
+++ device-mapper/WHATS_NEW 2007/06/19 15:47:20 1.188
@@ -1,5 +1,6 @@
Version 1.02.21 -
================================
+ Fix dmsetup -o devno string termination. (1.02.20)
Version 1.02.20 - 15th June 2007
================================
--- device-mapper/dmsetup/dmsetup.c 2007/06/15 18:20:28 1.92
+++ device-mapper/dmsetup/dmsetup.c 2007/06/19 15:47:20 1.93
@@ -1629,7 +1629,7 @@
goto out_abandon;
}
- if (!dm_pool_grow_object(mem, buf, strlen(buf))) {
+ if (!dm_pool_grow_object(mem, buf, strlen(buf) + 1)) {
log_error("dm_pool_grow_object failed");
goto out_abandon;
}
@@ -1662,7 +1662,7 @@
name = dm_tree_node_get_name(parent);
if (!name || !*name)
continue;
- if (!first_node && !dm_pool_grow_object(mem, ",", 1)) {
+ if (!first_node && !dm_pool_grow_object(mem, ",", 2)) {
log_error("dm_pool_grow_object failed");
goto out_abandon;
}
next reply other threads:[~2007-06-19 15:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-19 15:47 agk [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-06-18 10:19 device-mapper ./WHATS_NEW dmsetup/dmsetup.c meyering
2008-06-06 18:53 agk
2008-04-21 13:16 agk
2008-04-21 11:59 agk
2007-06-15 18:20 agk
2007-06-11 13:20 agk
2007-04-27 15:12 agk
2007-01-29 18:18 agk
2007-01-29 17:45 agk
2007-01-24 18:09 agk
2006-10-19 15:34 agk
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=20070619154721.23122.qmail@sourceware.org \
--to=agk@sourceware.org \
--cc=dm-cvs@sourceware.org \
--cc=dm-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.