Skip to content

Commit

Permalink
net_send buffer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vialamo committed Mar 25, 2017
1 parent 8a564c6 commit 24ae8fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ uint kernel_service(uint cs, uint service, lp_t lparam)
case SYSCALL_NET_SEND: {
struct TSYSCALL_NETOP no;
uint8_t addr[4];
uint8_t buff[4];
uint8_t buff[512];
lmemcpy(lp(&no), lparam, lsizeof(no));
lmemcpy(lp(addr), no.addr, lsizeof(addr));
lmemcpy(lp(buff), no.buff, (ul_t)no.size);
Expand Down
2 changes: 1 addition & 1 deletion source/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#define OS_VERSION_HI 2
#define OS_VERSION_LO 0
#define OS_BUILD_NUM 17
#define OS_BUILD_NUM 18

/*
* Hardware related disk information is handled by the kernel module.
Expand Down

0 comments on commit 24ae8fd

Please sign in to comment.