lkml.org 
[lkml]   [1999]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: memory leak in sr_ioctl.c in Linux 2.2.12/13
Date
From
> -        if (lba < 0 || lba >= scsi_CDs[target].capacity)
> +
> + if (lba < 0 || lba >= scsi_CDs[target].capacity) {
> + scsi_free(raw);
> return -EINVAL;
> + }

Snap 8). Already done the same fix. That one is indeed nasty.

Alan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.045 / U:2.620 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site