Changes in uspace/lib/ipcgfx/src/server.c [5fc8244:cdd6fc9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ipcgfx/src/server.c
r5fc8244 rcdd6fc9 1 1 /* 2 * Copyright (c) 202 1Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 151 151 152 152 if (!async_share_out_receive(&call, &size, &flags)) { 153 async_answer_0(&call, EINVAL); 153 154 async_answer_0(icall, EINVAL); 154 155 return; … … 157 158 /* Check size */ 158 159 if (size != PAGES2SIZE(SIZE2PAGES(dim.x * dim.y * sizeof(uint32_t)))) { 160 async_answer_0(&call, EINVAL); 159 161 async_answer_0(icall, EINVAL); 160 162 return; … … 163 165 rc = async_share_out_finalize(&call, &pixels); 164 166 if (rc != EOK || pixels == AS_MAP_FAILED) { 167 async_answer_0(&call, ENOMEM); 165 168 async_answer_0(icall, ENOMEM); 166 169 return;
Note:
See TracChangeset
for help on using the changeset viewer.