Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
abe86edd
Commit
abe86edd
authored
Jun 02, 2011
by
Laurent Aimar
Browse files
Fixed a potential infinite loop in CheckAPI() (egl).
parent
e87072e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/video_output/egl.c
View file @
abe86edd
...
...
@@ -80,6 +80,8 @@ static bool CheckAPI (EGLDisplay dpy, const char *api)
/* Cannot use strtok_r() on constant string... */
do
{
while
(
*
apis
==
' '
)
apis
++
;
if
(
!
strncmp
(
apis
,
api
,
apilen
)
&&
(
memchr
(
" "
,
apis
[
apilen
],
2
)
!=
NULL
))
return
true
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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