Changeset 4fe3b6d in mainline for uspace/lib/c/generic/devman.c
- Timestamp:
- 2011-05-20T11:07:00Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8bb61e6
- Parents:
- 3476be8 (diff), 7941bd6 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/devman.c
r3476be8 r4fe3b6d 415 415 } 416 416 417 /* To be on the safe-side. */ 417 418 path[path_size - 1] = 0; 418 419 419 if (IPC_GET_ARG2(data_request_call) >= path_size) { 420 size_t transferred_size = IPC_GET_ARG2(data_request_call); 421 422 if (transferred_size >= path_size) { 420 423 return ELIMIT; 421 424 } 425 426 /* Terminate the string (trailing 0 not send over IPC). */ 427 path[transferred_size] = 0; 422 428 423 429 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.