Changeset 34aac916 in mainline


Ignore:
Timestamp:
2010-04-12T23:12:12Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
75ebb5b6
Parents:
d7e45c8
Message:

Fix off-by-one error in GET_CHECK_PHONE().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/sysipc.c

    rd7e45c8 r34aac916  
    6060#define GET_CHECK_PHONE(phone, phoneid, err) \
    6161{ \
    62         if (phoneid > IPC_MAX_PHONES) { \
     62        if (phoneid >= IPC_MAX_PHONES) { \
    6363                err \
    6464        } \
Note: See TracChangeset for help on using the changeset viewer.