Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7b544af1
Commit
7b544af1
authored
Mar 26, 2011
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
loader: Protect preloader against ELF file without loadable segments (clang).
parent
6a602665
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
preloader.c
loader/preloader.c
+2
-0
No files found.
loader/preloader.c
View file @
7b544af1
...
@@ -788,6 +788,8 @@ static void map_so_lib( const char *name, struct wld_link_map *l)
...
@@ -788,6 +788,8 @@ static void map_so_lib( const char *name, struct wld_link_map *l)
}
}
/* Now process the load commands and map segments into memory. */
/* Now process the load commands and map segments into memory. */
if
(
!
nloadcmds
)
fatal_error
(
"%s: no segments to load
\n
"
,
name
);
c
=
loadcmds
;
c
=
loadcmds
;
/* Length of the sections to be loaded. */
/* Length of the sections to be loaded. */
...
...
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