[Linux-ha-dev] heartbeat should detect and recover from corrupt CIB

Andrew Beekhof beekhof at gmail.com
Wed Mar 7 02:11:55 MST 2007


On 3/6/07, Aníbal Monsalve Salazar <anibal at sgi.com> wrote:
> On Fri, Mar 02, 2007 at 09:03:19AM +0100, Andrew Beekhof wrote:
> >coincidentally i already applied something equivalent to the first
> >part of this patch a couple of days ago
>
> Did you also fix other cases of fopen() followed immediately by
> fclose()/ftell()/fprint() with no error checking?

i didn't but will do so now

> I've seen at least two more cases.
>
> On line 112 of crm/cib/io.c, fopen() is followed immediately by ftell()
> with no error checking.
>
> On line 332 of crm/pengine/ptest.c, fopen() is followed immediately by
> fprint() with no error checking.
>
> Aníbal
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
>


More information about the Linux-HA-Dev mailing list