Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6fd617e3
Commit
6fd617e3
authored
Oct 16, 2001
by
Bryce McKinlay
Committed by
Bryce McKinlay
Oct 16, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* name-finder.cc (_Jv_name_finder::lookup): Check for NULL dli_sname.
From-SVN: r46280
parent
d3a1246b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
libjava/ChangeLog
+4
-0
libjava/name-finder.cc
+3
-1
No files found.
libjava/ChangeLog
View file @
6fd617e3
2001-10-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* name-finder.cc (_Jv_name_finder::lookup): Check for NULL dli_sname.
2001-10-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* java/util/HashMap.java (HashEntry.clone): Removed.
...
...
libjava/name-finder.cc
View file @
6fd617e3
...
...
@@ -147,10 +147,12 @@ _Jv_name_finder::lookup (void *p)
{
if
(
dl_info
.
dli_fname
)
strncpy
(
file_name
,
dl_info
.
dli_fname
,
sizeof
file_name
);
strncpy
(
method_name
,
dl_info
.
dli_sname
,
sizeof
method_name
);
if
(
dl_info
.
dli_sname
)
strncpy
(
method_name
,
dl_info
.
dli_sname
,
sizeof
method_name
);
/* Don't trust dladdr() if the address is from the main program. */
if
(
dl_info
.
dli_fname
!=
NULL
&&
dl_info
.
dli_sname
!=
NULL
&&
(
_Jv_argv
==
NULL
||
strcmp
(
file_name
,
_Jv_argv
[
0
])
!=
0
))
return
true
;
}
...
...
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