forked from OpenAMP/open-amp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app: rpc_demod: fix buffer overflow in handle_read
Fix the following error: Remote>Opened file 'remote.file' with fd = 8 *** buffer overflow detected ***: rpc_demod-shared 1. Change RPC_BUFF_SIZE to accomodate the remote 2. Set size to the minimum of the request or the buffer size Signed-off-by: Sergei Korneichuk <[email protected]>
- Loading branch information
1 parent
2b6a38a
commit 17b2594
Showing
1 changed file
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters