Index: trunk/i386/libsaio/device_tree.c =================================================================== --- trunk/i386/libsaio/device_tree.c (revision 2615) +++ trunk/i386/libsaio/device_tree.c (revision 2616) @@ -353,6 +353,11 @@ { buf = *buffer_p; } + if (!buf) + { + *length = 0; + return; + } bzero(buf, totalSize);