[PATCH] avoid segfault in linearize_asm_statement() after a parse error in asm statement
commitfafb86f96d323c9b23e8519987adc195e031f456
authorLuc Van Oostenryck <luc.vanoostenryck@looxix.net>
Sun, 26 Jun 2005 23:34:29 +0000 (27 01:34 +0200)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 27 Jun 2005 00:21:17 +0000 (26 17:21 -0700)
treeb059236beaa7ab811459267ebc728a1befd8658a
parentfaa939b386004bdb1c2aaf277f6fb7ac333f89d3
[PATCH] avoid segfault in linearize_asm_statement() after a parse error in asm statement

Avoid deferencing a null pointer in linearize_asm_statement() after a
parse error in asm statement.

Note: the problem was already fixed (or was never there) for the
asm_inputs part.  This patch uses the same protection for the output
part: use "".

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@looxix.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
linearize.c