+ docbook-fix-segfault-in-docprocc.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     docbook: fix segfault in docproc.c

has been added to the -mm tree.  Its filename is

     docbook-fix-segfault-in-docprocc.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: docbook: fix segfault in docproc.c
From: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxx>
Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 scripts/basic/docproc.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN scripts/basic/docproc.c~docbook-fix-segfault-in-docprocc scripts/basic/docproc.c
--- a/scripts/basic/docproc.c~docbook-fix-segfault-in-docprocc
+++ a/scripts/basic/docproc.c
@@ -177,6 +177,7 @@ void find_export_symbols(char * filename
 		{
 			fprintf(stderr, "docproc: ");
 			perror(real_filename);
+			exit(1);
 		}
 		while(fgets(line, MAXLINESZ, fp)) {
 			char *p;
_

Patches currently in -mm which might be from henne@xxxxxxxxxxxxxxxx are

git-netdev-all.patch
tg3-convert-the-pci_device_id-table-to-pci_device.patch
git-scsi-misc.patch
pci_module_init-conversion-in-scsi-subsys-2nd-try.patch
docbook-fix-segfault-in-docprocc.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux