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
0e0f93f5
Commit
0e0f93f5
authored
1 year ago
by
Roman Khlopkov
🔜
Browse files
Options
Downloads
Patches
Plain Diff
[*] Segfault fix
parent
ec99efdf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#37274
failed with stage
Stage: build
in 7 minutes and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dap-sdk
+1
-1
1 addition, 1 deletion
dap-sdk
modules/net/dap_chain_net_balancer.c
+1
-1
1 addition, 1 deletion
modules/net/dap_chain_net_balancer.c
with
2 additions
and
2 deletions
dap-sdk
@
f8a6d5cd
Compare
6f328918
...
f8a6d5cd
Subproject commit
6f328918f8081
07
1
e0
bdb8466515f5c6f4981cb4
Subproject commit
f8a6d5cd7f5d4610b7f78fd8cd5caea
07
5
e0
ab16
This diff is collapsed.
Click to expand it.
modules/net/dap_chain_net_balancer.c
+
1
−
1
View file @
0e0f93f5
...
@@ -129,7 +129,7 @@ dap_link_info_t *s_get_links_info_list(dap_chain_net_t *a_net, size_t *a_count,
...
@@ -129,7 +129,7 @@ dap_link_info_t *s_get_links_info_list(dap_chain_net_t *a_net, size_t *a_count,
dap_link_info_t
*
l_tail
=
s_get_links_info_list
(
a_net
,
&
l_tail_count
,
false
);
dap_link_info_t
*
l_tail
=
s_get_links_info_list
(
a_net
,
&
l_tail_count
,
false
);
if
(
l_tail
&&
l_tail_count
)
{
if
(
l_tail
&&
l_tail_count
)
{
l_ret
=
DAP_REALLOC
(
l_ret
,
sizeof
(
dap_link_info_t
)
*
(
l_count
+
l_tail_count
));
l_ret
=
DAP_REALLOC
(
l_ret
,
sizeof
(
dap_link_info_t
)
*
(
l_count
+
l_tail_count
));
memcpy
(
l_ret
+
sizeof
(
dap_link_info_t
)
*
l_count
,
l_tail
,
sizeof
(
dap_link_info_t
)
*
l_tail_count
);
memcpy
(
l_ret
+
l_count
,
l_tail
,
sizeof
(
dap_link_info_t
)
*
l_tail_count
);
l_count
+=
l_tail_count
;
l_count
+=
l_tail_count
;
DAP_DELETE
(
l_tail
);
DAP_DELETE
(
l_tail
);
}
}
...
...
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