Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angle
Project
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
Chen Yisong
angle
Commits
0b53fc05
Commit
0b53fc05
authored
Mar 09, 2011
by
daniel@transgaming.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix NULL dereference for empty constructors.
Issue=123 Patch by Jacob Benoit. git-svn-id:
https://angleproject.googlecode.com/svn/trunk@570
736b8ea6-26fd-11df-bfd4-992fa37f6226
parent
62f20f9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
version.h
src/common/version.h
+1
-1
ParseHelper.cpp
src/compiler/ParseHelper.cpp
+1
-1
No files found.
src/common/version.h
View file @
0b53fc05
#define MAJOR_VERSION 0
#define MINOR_VERSION 0
#define BUILD_VERSION 0
#define BUILD_REVISION 5
66
#define BUILD_REVISION 5
70
#define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x)
...
...
src/compiler/ParseHelper.cpp
View file @
0b53fc05
...
...
@@ -558,7 +558,7 @@ bool TParseContext::constructorErrorCheck(int line, TIntermNode* node, TFunction
}
}
TIntermTyped
*
typed
=
node
->
getAsTyped
()
;
TIntermTyped
*
typed
=
node
?
node
->
getAsTyped
()
:
0
;
if
(
typed
==
0
)
{
error
(
line
,
"constructor argument does not have a type"
,
"constructor"
,
""
);
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