PetscObjectSetFortranCallback() was allocating the incorrect amount of space...
PetscObjectSetFortranCallback() was allocating the incorrect amount of space for the *cid coming in.
It depends on the value of the current *cid, not on some previous length
Commit-type: bug-fix, fortran Reported-by: Sharan Roongta s.roongta@mpie.de
[petsc-maint] possible bug when using two DM objects
Edited by Barry Smith