Re: c4_Bytes.Modify() mangling data

<[email protected]>
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
--- Brian Kelley <[email protected]> wrote:
> It looks like you are adding the data at the end of
> the buffer.  If you make the following substitution
> 
> pos = random.randrange(len(v[0].b)-1)
> 
> then everything seems to work.  I'm not sure why
> this is but jcw might have a pointer.

Hmmm, it dosn't seem to make any difference for me. Do
you only see the problem come up when the data is
added
to the end (pos == len)?

Which version of metakit did you test it with?

Best Regards,
  Arto Stimms



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.