xcopy: Add an explicit check to avoid an out of array access. access. (RESEND)

Alexandre Julliard julliard at winehq.org
Tue Sep 10 04:15:15 CDT 2013

Gerald Pfeifer <gerald at pfeifer.com> writes:

> On Sun, 24 Mar 2013, Gerald Pfeifer wrote:
>> This _may_ not be necessary, strictly speaking, but new versions of
>> GCC (GCC 4.8) complain about this. (And there might be a fringe case?)
> How about this patch?  I see it was not applied, but also did not
> see a response.

It can't happen (and removing the last char unconditionally is broken

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list