]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] docbook: fix segfault in docproc.c
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Fri, 29 Sep 2006 09:00:56 +0000 (02:00 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 29 Sep 2006 16:18:18 +0000 (09:18 -0700)
commit074a5dde04abc66eea30368c74913d83b1a410f9
treef858588a6a19289ca5b430c3796aa99cbf6f299c
parentaaa2a97eb9c0e91d7abc66bf76811a9599fdb3ee
[PATCH] docbook: fix segfault in docproc.c

Adds a missing exit, if the file that should be parsed couldn't be opened.
Without it crashes with a segfault, cause the filedescriptor is accessed
even if the file could not be opened.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
scripts/basic/docproc.c