Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
videolan
vlc
Commits
3d9656b6
Commit
3d9656b6
authored
Nov 17, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: use U32_AT
parent
69d88103
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
src/misc/update_crypto.c
src/misc/update_crypto.c
+2
-4
No files found.
src/misc/update_crypto.c
View file @
3d9656b6
...
@@ -257,10 +257,8 @@ static size_t parse_signature_v4_packet( signature_packet_t *p_sig,
...
@@ -257,10 +257,8 @@ static size_t parse_signature_v4_packet( signature_packet_t *p_sig,
{
{
if
(
p
+
4
>
max_pos
)
if
(
p
+
4
>
max_pos
)
return
0
;
return
0
;
i_subpacket_len
=
*++
p
<<
24
;
i_subpacket_len
=
U32_AT
(
p
);
i_subpacket_len
+=
*++
p
<<
16
;
p
+=
4
;
i_subpacket_len
+=
*++
p
<<
8
;
i_subpacket_len
+=
*++
p
;
}
}
if
(
*
p
==
ISSUER_SUBPACKET
)
if
(
*
p
==
ISSUER_SUBPACKET
)
...
...
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