[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] libstore/file.c
From: |
Neal H Walfield |
Subject: |
Re: [PATCH] libstore/file.c |
Date: |
Wed, 7 Mar 2001 14:50:03 +0100 |
User-agent: |
Mutt/1.3.12i |
On Wed, Mar 07, 2001 at 08:39:39AM -0500, Roland McGrath wrote:
> > Alright, then way does it crash when I use a store backed by a file
> > and not when I use a store back by a device? Further more, why does
> > it work when I use my patch?
>
> Are you talking about your own code that calls store_read?
Yes.
> It might be that in the two particular things you are trying, one them
> returns inline data and one returns out-of-line data. If your program does
> not obey the calling convention properly (e.g. by passing the address of an
> uninitialized pointer variable), then this bug might well show up only
> in the case where inline data was returned.
I pass in an uninitialized pointer. The code crashes in memcpy as
called from io_read. I will send a full bug report my next mail run
(likely next week).
pgpNn3hc2dyu_.pgp
Description: PGP signature