From: malc <av1474@comtv.ru>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [5087] Fix more bugs in r5044
Date: Tue, 26 Aug 2008 22:28:16 +0400 (MSD) [thread overview]
Message-ID: <Pine.LNX.4.64.0808262221060.2137@linmac.oyster.ru> (raw)
In-Reply-To: <E1KXiuX-0008MV-Nr@cvs.savannah.gnu.org>
On Mon, 25 Aug 2008, Blue Swirl wrote:
> Revision: 5087
> http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5087
> Author: blueswir1
> Date: 2008-08-25 20:43:37 +0000 (Mon, 25 Aug 2008)
>
> Log Message:
> -----------
> Fix more bugs in r5044
>
> Modified Paths:
> --------------
> trunk/audio/audio.c
> trunk/i386-dis.c
>
> Modified: trunk/audio/audio.c
> ===================================================================
> --- trunk/audio/audio.c 2008-08-25 20:03:28 UTC (rev 5086)
> +++ trunk/audio/audio.c 2008-08-25 20:43:37 UTC (rev 5087)
> @@ -205,7 +205,7 @@
> }
>
> len = strlen (s);
> - r = qemu_malloc (len + sizeof (qemu_prefix));
> + r = qemu_malloc (len + sizeof (qemu_prefix) + 1);
>
This is wrong, sizeof (qemu_prefix) already includes + 1 (trailing
zero is counted).
--
mailto:av1474@comtv.ru
prev parent reply other threads:[~2008-08-26 18:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-25 20:43 [Qemu-devel] [5087] Fix more bugs in r5044 Blue Swirl
2008-08-25 21:10 ` Igor Kovalenko
2008-08-26 17:09 ` Blue Swirl
2008-08-26 18:28 ` malc [this message]
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=Pine.LNX.4.64.0808262221060.2137@linmac.oyster.ru \
--to=av1474@comtv.ru \
--cc=qemu-devel@nongnu.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).