Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
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
linux
linux-davinci
Commits
4c2cac89
Commit
4c2cac89
authored
Sep 05, 2005
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IEEE80211]: Use correct size_t printf format string in ieee80211_rx.c
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
3da54c5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/ieee80211/ieee80211_rx.c
net/ieee80211/ieee80211_rx.c
+1
-1
No files found.
net/ieee80211/ieee80211_rx.c
View file @
4c2cac89
...
...
@@ -831,7 +831,7 @@ static inline int ieee80211_network_init(
left
=
stats
->
len
-
((
void
*
)
info_element
-
(
void
*
)
beacon
);
while
(
left
>=
sizeof
(
struct
ieee80211_info_element_hdr
))
{
if
(
sizeof
(
struct
ieee80211_info_element_hdr
)
+
info_element
->
len
>
left
)
{
IEEE80211_DEBUG_SCAN
(
"SCAN: parse failed: info_element->len + 2 > left : info_element->len+2=%d left=%d.
\n
"
,
IEEE80211_DEBUG_SCAN
(
"SCAN: parse failed: info_element->len + 2 > left : info_element->len+2=%
Z
d left=%d.
\n
"
,
info_element
->
len
+
sizeof
(
struct
ieee80211_info_element
),
left
);
return
1
;
...
...
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