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

Changeset ffc1b1d in mainline


Ignore:
Timestamp:
2012-08-17T12:20:57Z (9 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
fa6f2357
Parents:
d891cba
Message:

Prevent likely double free of call→buffer.

The buffer is supposed to be eventually freed by ipc_call_free() along
with the call_t structure itself.

File:
1 edited

Legend:

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

    rd891cba rffc1b1d  
    502502                call_t *call = list_get_instance(list_first(lst), call_t,
    503503                    ab_link);
    504                 if (call->buffer)
    505                         free(call->buffer);
    506504               
    507505                list_remove(&call->ab_link);
Note: See TracChangeset for help on using the changeset viewer.