Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
R
radsecproxy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eduroam
radsecproxy
Commits
42eb3c67
Commit
42eb3c67
authored
Jan 16, 2015
by
Linus Nordberg
Committed by
Linus Nordberg
Jan 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix null pointer dereference in decttl().
Patch by Stephen Röttger.
parent
eb436860
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
radsecproxy.c
radsecproxy.c
+3
-0
No files found.
radsecproxy.c
View file @
42eb3c67
...
...
@@ -1173,6 +1173,9 @@ void addttlattr(struct radmsg *msg, uint32_t *attrtype, uint8_t addttl) {
int
decttl
(
uint8_t
l
,
uint8_t
*
v
)
{
int
i
;
if
(
l
==
0
)
return
0
;
i
=
l
-
1
;
if
(
v
[
i
])
{
if
(
--
v
[
i
--
])
...
...
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