Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FMC Software Support
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Service Desk
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
Projects
FMC Software Support
Commits
484442e9
Commit
484442e9
authored
3 years ago
by
Federico Vaga
Browse files
Options
Downloads
Plain Diff
Merge branch 'release/v1.1.4'
parents
f3adcab3
bdb8d426
No related merge requests found
Pipeline
#3253
failed with stages
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/lib/libfmc.c
+1
-1
1 addition, 1 deletion
tools/lib/libfmc.c
with
1 addition
and
1 deletion
tools/lib/libfmc.c
+
1
−
1
View file @
484442e9
...
@@ -248,7 +248,7 @@ static int __fmc_carrier_type_get(struct fmc_carrier *carr,
...
@@ -248,7 +248,7 @@ static int __fmc_carrier_type_get(struct fmc_carrier *carr,
if
((
size_t
)
ret
>=
sizeof
(
carrier_type
))
if
((
size_t
)
ret
>=
sizeof
(
carrier_type
))
ret
=
sizeof
(
carrier_type
)
-
1
;
ret
=
sizeof
(
carrier_type
)
-
1
;
carrier_type
[
ret
]
=
'\0'
;
carrier_type
[
ret
]
=
'\0'
;
strncpy
(
buf
,
basename
(
carrier_type
),
max_len
);
strncpy
(
buf
,
basename
(
carrier_type
),
max_len
-
1
);
return
0
;
return
0
;
err_link:
err_link:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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