Changeset d1c8287 in mainline


Ignore:
Timestamp:
2008-09-19T17:32:26Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7dc62af
Parents:
356acd0
Message:

Fix null pointer dereference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/trace/ipcp.c

    r356acd0 rd1c8287  
    288288                oper = pcall->oper;
    289289
    290                 if (oper->rv_type != V_VOID || oper->respc > 0) {
     290                if (oper != NULL && oper->rv_type != V_VOID || oper->respc > 0) {
    291291                        printf("->");
    292292
     
    332332
    333333//      printf("ipcp_call_in()\n");
    334 /*      printf("phone: %d, method: ", call->in_phone_hash);
    335         ipc_m_print(IPC_GET_METHOD(*call));
    336         printf(" args: (%lu, %lu, %lu, %lu, %lu)\n",
    337             IPC_GET_ARG1(*call),
    338             IPC_GET_ARG2(*call),
    339             IPC_GET_ARG3(*call),
    340             IPC_GET_ARG4(*call),
    341             IPC_GET_ARG5(*call)
    342         );*/
    343334
    344335        if ((hash & IPC_CALLID_ANSWERED) == 0 && hash != IPCP_CALLID_SYNC) {
Note: See TracChangeset for help on using the changeset viewer.