Share

ATMEL Linux PCI PCMCIA USB Drivers.

Tracker: Patches

5 remove incorrect fallthrough in src/usb/rx.c - ID: 1722140
Last Update: Attachment added ( nmarci )

The src/usb/rx.c contains the following structure:

switch (a) {
case X:
/* ... */
break;
case Y:
if (b) {
} else
!--> // dbgcond(DBG_SCAN, "BSS list is full\n");
break;
case Z:
/* ... */
break;
}

The problem is that if the "else" part is commented out, the "break" will
be the else part causing a fallthrough from X to Z.


Márton Németh ( nmarci ) - 2007-05-20 13:31

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
incorrect_fallthourgh.patch {} brackets added to prevent "break" go under "else" in src/usb/rx.c:MgmtFrameProcessing() Download

Change ( 1 )

Field Old Value Date By
File Added 229876: incorrect_fallthourgh.patch 2007-05-20 13:31 nmarci