Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
e60a9038
Commit
e60a9038
authored
Jun 24, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a segfault (buffer overflow for win32 only).
parent
353a8120
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/access/smb.c
modules/access/smb.c
+1
-1
No files found.
modules/access/smb.c
View file @
e60a9038
...
...
@@ -473,7 +473,7 @@ static void Win32AddConnection( access_t *p_access, char *psz_path,
strlcpy
(
psz_share
,
psz_parser
,
sizeof
(
psz_share
)
);
}
s
printf
(
psz_remote
,
"
\\\\
%s
\\
%s"
,
psz_server
,
psz_share
);
s
nprintf
(
psz_remote
,
sizeof
(
psz_remote
)
,
"
\\\\
%s
\\
%s"
,
psz_server
,
psz_share
);
net_resource
.
lpRemoteName
=
psz_remote
;
i_result
=
OurWNetAddConnection2
(
&
net_resource
,
psz_pwd
,
psz_user
,
0
);
...
...
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