Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
oai
openairinterface5G
Commits
3ea36ba0
Commit
3ea36ba0
authored
2 years ago
by
knopp
Browse files
Options
Downloads
Patches
Plain Diff
bugfix in use of sizeof in thread-pool.c
parent
50f30cfd
No related branches found
No related tags found
3 merge requests
!1757
Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c
,
!1749
hotfix for thread-pool.c
,
!1746
integration_2022_wk41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/utils/threadPool/thread-pool.c
+2
-2
2 additions, 2 deletions
common/utils/threadPool/thread-pool.c
with
2 additions
and
2 deletions
common/utils/threadPool/thread-pool.c
+
2
−
2
View file @
3ea36ba0
...
...
@@ -167,9 +167,9 @@ void initFloatingCoresTpool(int nbThreads,tpool_t *pool, bool performanceMeas, c
if
(
nbThreads
)
{
strcpy
(
threads
,
"-1"
);
for
(
int
i
=
1
;
i
<
nbThreads
;
i
++
)
strncat
(
threads
,
",-1"
,
sizeof
(
threads
-
1
)
)
;
strncat
(
threads
,
",-1"
,
sizeof
(
threads
)
-
1
);
}
threads
[
sizeof
(
threads
-
1
)
]
=
0
;
threads
[
sizeof
(
threads
)
-
1
]
=
0
;
initNamedTpool
(
threads
,
pool
,
performanceMeas
,
name
);
}
...
...
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