* Fix crash from test/sharing.