Changeset 69eac4aa in mainline


Ignore:
Timestamp:
2008-06-22T15:54:07Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
deaf8d5
Parents:
599d6f5
Message:

Fix a scary two-year old bug: do not attempt to initialize a call structure if
its allocation failed.

File:
1 edited

Legend:

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

    r599d6f5 r69eac4aa  
    8888
    8989        call = slab_alloc(ipc_call_slab, flags);
    90         _ipc_call_init(call);
     90        if (call)
     91                _ipc_call_init(call);
    9192
    9293        return call;
Note: See TracChangeset for help on using the changeset viewer.