> > @@ -245,6 +254,18 @@ static int dump_location(void) > } > printf("\n"); > > + /* dump information about the network volume the link points to */ > + printf("Network volume ofs = %08x ", loc->dwNetworkVolTableOfs); > + if (loc->dwNetworkVolTableOfs && > (loc->dwNetworkVolTableOfs<loc->dwTotalSize)) > me wonders if if (loc->dwNetworkVolTableOfs && (loc->dwNetworkVolTableOfs + sizeof(NETWORK_VOLUME_INFO)<loc->dwTotalSize)) wouldn't be better (same also would apply for test in old code above for dwVolTableOfs
-- -- Eric Pouech