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

Aníbal Monsalve Salazar anibal at sgi.com
Tue Mar 6 15:22:40 MST 2007


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'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


More information about the Linux-HA-Dev mailing list