qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Blue Swirl" <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [5087] Fix more bugs in r5044
Date: Tue, 26 Aug 2008 20:09:15 +0300	[thread overview]
Message-ID: <f43fc5580808261009o4464c4acq9930f46c47797a96@mail.gmail.com> (raw)
In-Reply-To: <b2fa41d60808251410y103d5267nb51ece89ba1743e0@mail.gmail.com>

On 8/26/08, Igor Kovalenko <igor.v.kovalenko@gmail.com> wrote:
> On Tue, Aug 26, 2008 at 12:43 AM, Blue Swirl <blauwirbel@gmail.com> 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/i386-dis.c
>  > ===================================================================
>  > --- trunk/i386-dis.c    2008-08-25 20:03:28 UTC (rev 5086)
>  > +++ trunk/i386-dis.c    2008-08-25 20:43:37 UTC (rev 5087)
>  > @@ -2826,7 +2826,7 @@
>  >  oappend (s)
>  >      const char *s;
>  >  {
>  > -  pstrcpy (obufp, (size_t)(obufp - obuf), s);
>  > +  pstrcpy (obufp, sizeof(obuf) - (size_t)(obufp - obuf), s);
>  >   obufp += strlen (s);
>  >  }
>  >
>  >
>
>
> Now the disassembler output is truncated; you need to revert this part
>  of change to i386-dis.c
>  The problem is that obufp is not always a pointer into obuf data, see
>  i386-dis.c:2497      obufp = op1out;

Thanks. I didn't have a plan how to fix this properly, so I reverted it.

  reply	other threads:[~2008-08-26 17:09 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 [this message]
2008-08-26 18:28 ` malc

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=f43fc5580808261009o4464c4acq9930f46c47797a96@mail.gmail.com \
    --to=blauwirbel@gmail.com \
    --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).