Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
16
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
cellframe-sdk
Commits
437e0a90
Commit
437e0a90
authored
1 year ago
by
Roman Khlopkov
🔜
Browse files
Options
Downloads
Patches
Plain Diff
[-] Oversize control double
parent
f5df7e60
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dap-sdk
+1
-1
1 addition, 1 deletion
dap-sdk
modules/chain/dap_chain_ch.c
+2
-3
2 additions, 3 deletions
modules/chain/dap_chain_ch.c
with
3 additions
and
4 deletions
dap-sdk
@
c427c109
Compare
32ee5ddd
...
c427c109
Subproject commit
32ee5dddfa5641119add13d4334d3f37a90c4313
Subproject commit
c427c109455c41aabb0cb21d35129b7628ee823c
This diff is collapsed.
Click to expand it.
modules/chain/dap_chain_ch.c
+
2
−
3
View file @
437e0a90
...
@@ -1071,9 +1071,8 @@ void s_stream_ch_packet_in(dap_stream_ch_t* a_ch, void* a_arg)
...
@@ -1071,9 +1071,8 @@ void s_stream_ch_packet_in(dap_stream_ch_t* a_ch, void* a_arg)
case
DAP_STREAM_CH_CHAIN_PKT_TYPE_CHAIN
:
{
case
DAP_STREAM_CH_CHAIN_PKT_TYPE_CHAIN
:
{
dap_chain_ch_pkt_t
*
l_chain_pkt
=
(
dap_chain_ch_pkt_t
*
)
l_ch_pkt
->
data
;
dap_chain_ch_pkt_t
*
l_chain_pkt
=
(
dap_chain_ch_pkt_t
*
)
l_ch_pkt
->
data
;
if
(
l_chain_pkt_data_size
<=
sizeof
(
dap_chain_ch_pkt_t
)
||
if
(
l_chain_pkt
->
hdr
.
version
>=
2
&&
(
l_chain_pkt
->
hdr
.
version
>=
2
&&
l_chain_pkt_data_size
!=
l_chain_pkt
->
hdr
.
data_size
)
{
l_chain_pkt_data_size
!=
l_chain_pkt
->
hdr
.
data_size
))
{
log_it
(
L_WARNING
,
"Incorrect chain packet size"
);
log_it
(
L_WARNING
,
"Incorrect chain packet size"
);
break
;
break
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment