Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
49d989d4
Commit
49d989d4
authored
May 28, 2004
by
Patrick McHardy
Committed by
David S. Miller
May 28, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IRDA]: Fix NULL-ptr dereference in irlmp_get_saddr().
parent
91f0d735
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
include/net/irda/irlmp.h
include/net/irda/irlmp.h
+1
-1
No files found.
include/net/irda/irlmp.h
View file @
49d989d4
...
@@ -251,7 +251,7 @@ LM_REASON irlmp_convert_lap_reason(LAP_REASON);
...
@@ -251,7 +251,7 @@ LM_REASON irlmp_convert_lap_reason(LAP_REASON);
static
inline
__u32
irlmp_get_saddr
(
const
struct
lsap_cb
*
self
)
static
inline
__u32
irlmp_get_saddr
(
const
struct
lsap_cb
*
self
)
{
{
return
(
self
&&
!
self
->
lap
)
?
self
->
lap
->
saddr
:
0
;
return
(
self
&&
self
->
lap
)
?
self
->
lap
->
saddr
:
0
;
}
}
static
inline
__u32
irlmp_get_daddr
(
const
struct
lsap_cb
*
self
)
static
inline
__u32
irlmp_get_daddr
(
const
struct
lsap_cb
*
self
)
...
...
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