Changes in uspace/lib/c/generic/devman.c [852803a:431d6d6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/devman.c
r852803a r431d6d6 415 415 } 416 416 417 /* To be on the safe-side. */418 417 path[path_size - 1] = 0; 419 418 420 size_t transferred_size = IPC_GET_ARG2(data_request_call); 421 422 if (transferred_size >= path_size) { 419 if (IPC_GET_ARG2(data_request_call) >= path_size) { 423 420 return ELIMIT; 424 421 } 425 426 /* Terminate the string (trailing 0 not send over IPC). */427 path[transferred_size] = 0;428 422 429 423 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.