Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sofia-sip
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
external
sofia-sip
Commits
a175f2eb
Commit
a175f2eb
authored
Mar 09, 2011
by
Pekka Pessi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auth_module.c: fix ssize_t check
MeeGo Coverity issue CID#7594
parent
e3559e8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
auth_module.c
libsofia-sip-ua/iptsec/auth_module.c
+4
-4
No files found.
libsofia-sip-ua/iptsec/auth_module.c
View file @
a175f2eb
...
...
@@ -957,12 +957,12 @@ int auth_readdb_if_needed(auth_mod_t *am)
#define auth_apw_local ((void *)(intptr_t)auth_readdb_internal)
/** Read authentication database */
static
int
auth_readdb_internal
(
auth_mod_t
*
am
,
int
always
)
static
int
auth_readdb_internal
(
auth_mod_t
*
am
,
int
always
)
{
FILE
*
f
;
char
*
data
,
*
s
;
size_t
len
,
i
,
n
,
N
;
ssize_t
len
;
size_t
i
,
n
,
N
;
auth_passwd_t
*
apw
;
if
(
!
am
->
am_stat
)
...
...
@@ -1018,7 +1018,7 @@ int auth_readdb_internal(auth_mod_t *am, int always)
fclose
(
f
);
if
(
len
<
0
)
if
(
len
==
-
1
)
return
-
1
;
/* Count number of entries in new buffer */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment