Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ipcgfx/src/server.c

    r5fc8244 rcdd6fc9  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    151151
    152152        if (!async_share_out_receive(&call, &size, &flags)) {
     153                async_answer_0(&call, EINVAL);
    153154                async_answer_0(icall, EINVAL);
    154155                return;
     
    157158        /* Check size */
    158159        if (size != PAGES2SIZE(SIZE2PAGES(dim.x * dim.y * sizeof(uint32_t)))) {
     160                async_answer_0(&call, EINVAL);
    159161                async_answer_0(icall, EINVAL);
    160162                return;
     
    163165        rc = async_share_out_finalize(&call, &pixels);
    164166        if (rc != EOK || pixels == AS_MAP_FAILED) {
     167                async_answer_0(&call, ENOMEM);
    165168                async_answer_0(icall, ENOMEM);
    166169                return;
Note: See TracChangeset for help on using the changeset viewer.