winedump: Print the network share name in .lnk files.

Eric Pouech eric.pouech at orange.fr
Fri May 14 09:22:53 CDT 2010


>
> @@ -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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20100514/c8a91b8b/attachment.htm>


More information about the wine-devel mailing list