[2/3] Property Storage: Fix an off-by-one error that broke reading of many properties

Andrew Bogott Andrew at CodeWeavers.com
Tue Nov 30 17:59:38 CST 2010

Previously the code prevented us from reading the last byte in a 
buffer.  It seems like a simple off-by-one error; this change allows us 
to read the last byte but still excludes overruns.

This change allows the expanded tests in the next patch to pass on wine.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0006-When-checking-for-buffer-overruns-in-PropertyStorage.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101130/5b05a907/attachment.txt>

More information about the wine-patches mailing list