Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Esteban Blanc
proview
Commits
3b355304
Commit
3b355304
authored
Apr 25, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Null arg for subid in gdh_RefObjectInfo allowed
parent
520df6dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/lib/rt/src/rt_gdh.c
src/lib/rt/src/rt_gdh.c
+4
-4
No files found.
src/lib/rt/src/rt_gdh.c
View file @
3b355304
/*
* Proview $Id: rt_gdh.c,v 1.
29 2007-03-14 06:42:01
claes Exp $
* Proview $Id: rt_gdh.c,v 1.
30 2007-04-25 07:20:30
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
...
...
@@ -1053,7 +1053,7 @@ gdh_GetAttrRefTid (
*
tid
=
ap
->
adef
->
TypeRef
;
}
if
(
!
(
ap
->
op
->
l
.
flags
.
m
&
gdb_mLo_native
))
{
if
(
cdh_tidIsCid
(
*
tid
)
&&
!
(
ap
->
op
->
l
.
flags
.
m
&
gdb_mLo_native
))
{
gdh_ScopeLock
{
...
...
@@ -2463,7 +2463,8 @@ gdh_SubRefObjectInfoList (
cp
=
subc_Create
(
s
,
arp
,
lh
);
subid
[
i
]
=
cp
->
sid
;
if
(
subid
)
subid
[
i
]
=
cp
->
sid
;
}
/* Try to get it running */
...
...
@@ -2959,7 +2960,6 @@ gdh_RefObjectInfo (
if
(
infop
==
NULL
)
return
GDH__BADARG
;
if
(
name
==
NULL
)
return
GDH__BADARG
;
if
(
sid
==
NULL
)
return
GDH__BADARG
;
if
(
strlen
(
name
)
>=
sizeof
(
objref
.
fullname
))
return
GDH__NAMELEN
;
objref
.
bufsize
=
size
;
...
...
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