[En-Nut-Discussion] WinAVR-20080512 -- same error as 20080411

Nathan Moore nategoose at gmail.com
Wed May 21 01:17:26 CEST 2008


>
> It seams the biggest problem right now isn't the sleep macro, but rather
> the
>
> C:/programming/ethernut/nut/arch/avr/dev/wlandrv.c:1005: error: array
> subscript is above array bounds
>
> in:
>                    size = sizeof(LABBuffer) - sizeof(LLCS_SNAP_HEADER);
>                    memcpy(pFrameBuffer, pBytePointer, size);
>
> which I have no idea how to workaround. :(

We don't use that driver so I did:

                    size = sizeof(LABBuffer) - sizeof(LLCS_SNAP_HEADER);
                   //memcpy(pFrameBuffer, pBytePointer, size);

:-)



More information about the En-Nut-Discussion mailing list