writebuf, offset, len, xfered_len);
default:
+ if (beneath == NULL)
+ {
+ /* This can happen when requesting the transfer of unsupported
+ objects before a program has been started (and therefore
+ with the current_target having no target beneath). */
+ return TARGET_XFER_E_IO;
+ }
return beneath->xfer_partial (object, annex,
readbuf, writebuf, offset, len,
xfered_len);