Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
1500e59d
Commit
1500e59d
authored
Nov 27, 2012
by
Christoph Mallon
Browse files
ia32: Prevent out-of-bounds access after calling emit_asm_operand().
parent
82eea1b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
1500e59d
...
...
@@ -1009,7 +1009,8 @@ static const char* emit_asm_operand(const ir_node *node, const char *s)
case
0
:
ir_fprintf
(
stderr
,
"Warning: asm text (%+F) ends with %%
\n
"
,
node
);
be_emit_char
(
'%'
);
return
s
+
1
;
return
s
;
case
'%'
:
be_emit_char
(
'%'
);
return
s
+
1
;
...
...
Write
Preview
Supports
Markdown
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