Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 34aac91 in mainline


Ignore:
Timestamp:
2010-04-12T23:12:12Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial
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 r34aac91  
    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.