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
6a8601da
Commit
6a8601da
authored
Sep 04, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix referenced types (potentially fix crash with CGIs on 64bits)
parent
45444ce6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
modules/control/http/http.c
modules/control/http/http.c
+4
-5
No files found.
modules/control/http/http.c
View file @
6a8601da
...
@@ -716,7 +716,7 @@ int E_(HandlerCallback)( httpd_handler_sys_t *p_args,
...
@@ -716,7 +716,7 @@ int E_(HandlerCallback)( httpd_handler_sys_t *p_args,
char
**
ppsz_env
=
NULL
;
char
**
ppsz_env
=
NULL
;
char
*
psz_tmp
;
char
*
psz_tmp
;
char
sep
;
char
sep
;
int
i_buffer
;
size_t
i_buffer
;
char
*
p_buffer
;
char
*
p_buffer
;
char
*
psz_cwd
,
*
psz_file
=
NULL
;
char
*
psz_cwd
,
*
psz_file
=
NULL
;
int
i_ret
;
int
i_ret
;
...
@@ -933,8 +933,6 @@ int E_(ArtCallback)( httpd_handler_sys_t *p_args,
...
@@ -933,8 +933,6 @@ int E_(ArtCallback)( httpd_handler_sys_t *p_args,
char
*
psz_remote_addr
,
char
*
psz_remote_host
,
char
*
psz_remote_addr
,
char
*
psz_remote_host
,
uint8_t
**
pp_data
,
int
*
pi_data
)
uint8_t
**
pp_data
,
int
*
pi_data
)
{
{
uint8_t
*
p_data
=
NULL
;
int
i_data
=
0
;
char
*
psz_art
=
NULL
;
char
*
psz_art
=
NULL
;
intf_thread_t
*
p_intf
=
p_args
->
file
.
p_intf
;
intf_thread_t
*
p_intf
=
p_args
->
file
.
p_intf
;
intf_sys_t
*
p_sys
=
p_intf
->
p_sys
;
intf_sys_t
*
p_sys
=
p_intf
->
p_sys
;
...
@@ -944,7 +942,7 @@ int E_(ArtCallback)( httpd_handler_sys_t *p_args,
...
@@ -944,7 +942,7 @@ int E_(ArtCallback)( httpd_handler_sys_t *p_args,
psz_id
[
0
]
=
'\0'
;
psz_id
[
0
]
=
'\0'
;
if
(
p_request
)
if
(
p_request
)
E_
(
ExtractURIValue
)(
p_request
,
"id"
,
psz_id
,
15
);
E_
(
ExtractURIValue
)(
(
char
*
)
p_request
,
"id"
,
psz_id
,
15
);
i_id
=
atoi
(
psz_id
);
i_id
=
atoi
(
psz_id
);
if
(
i_id
)
if
(
i_id
)
{
{
...
@@ -970,7 +968,8 @@ int E_(ArtCallback)( httpd_handler_sys_t *p_args,
...
@@ -970,7 +968,8 @@ int E_(ArtCallback)( httpd_handler_sys_t *p_args,
FILE
*
f
;
FILE
*
f
;
char
*
psz_ext
;
char
*
psz_ext
;
char
*
psz_header
;
char
*
psz_header
;
int
i_header_size
;
char
*
p_data
=
NULL
;
int
i_header_size
,
i_data
;
if
(
(
f
=
utf8_fopen
(
psz_art
+
strlen
(
"file://"
),
"r"
)
)
==
NULL
)
if
(
(
f
=
utf8_fopen
(
psz_art
+
strlen
(
"file://"
),
"r"
)
)
==
NULL
)
{
{
...
...
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