[PATCH] symlink.c

2001-06-12 Thread John Martin
this patch adds a check to make sure memory was allocated, returns an error code otherwise. -john --- fs/autofs4/symlink.c.orig Fri Apr 21 14:41:36 2000 +++ fs/autofs4/symlink.cSun Jun 3 00:43:18 2001 @@ -15,13 +15,15 @@ static int autofs4_readlink(struct dentry *dentry, char *buff

[PATCH] nfsfh.c

2001-06-12 Thread John Martin
this seems to be an appropriate place to check this pointer and return an error code if necessary. -john --- linux/fs/nfsd/nfsfh.c.orig Fri Feb 9 11:29:44 2001 +++ linux/fs/nfsd/nfsfh.c Sun Jun 3 01:23:13 2001 @@ -135,6 +135,9 @@ struct list_head *lp; struct dentry *r

[PATCH] mtdram.c

2001-05-30 Thread John Martin
this seemed to be a straight forward null pointer bug. i just copied the error handling code from about 5 lines below what i added in. -john martin --- drivers/mtd/mtdram.c.orig Fri Feb 9 11:30:23 2001 +++ drivers/mtd/mtdram.cSat May 26 20:52:56 2001 @@ -115,6 +115,11

[PATCH] scsi_ioctl.c

2001-05-26 Thread John Martin
this seems to be a straight forward case of memory not being freed on an error path. so i just added in one line to each of the if statements that could fail. -john martin --- drivers/scsi/scsi_ioctl.c.orig Fri Apr 27 13:59:19 2001 +++ drivers/scsi/scsi_ioctl.c Sat May 26 20:13:03

[PATCH] zr36120.c

2001-05-26 Thread John Martin
I found this error using xgcc with metal as an error checker. It seems to be a simple case of not freeing allocatd memory on an error path. -john martin --- drivers/media/video/zr36120.c.orig Fri Mar 2 11:12:10 2001 +++ drivers/media/video/zr36120.c Sat May 19 15:31:03 2001