Re: [PATCH] ide: ide-cd_ioctl.c fix sparse integer as NULL pointer warnings

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

 



On Sunday 06 July 2008, Borislav Petkov wrote:
> On Fri, Jul 04, 2008 at 04:46:53PM -0700, Harvey Harrison wrote:
> > The function ide_cd_queue_pc should be checked as the bufflen arg is
> > dereferenced and lots of callers are passing in NULL.
> > 
> > drivers/ide/ide-cd_ioctl.c:124:46: warning: Using plain integer as NULL pointer
> > drivers/ide/ide-cd_ioctl.c:149:47: warning: Using plain integer as NULL pointer
> > drivers/ide/ide-cd_ioctl.c:231:46: warning: Using plain integer as NULL pointer
> > drivers/ide/ide-cd_ioctl.c:374:46: warning: Using plain integer as NULL pointer
> > 
> > Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>
> 
> Acked-by: Borislav Petkov <petkovbb@xxxxxxxxx>

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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux