lkml.org 
[lkml]   [1999]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateSun, 7 Feb 1999 19:23:11 -0800 (PST)
FromChristoph Lameter <>
Subjectpcxx bug in Linux 2.2.1 (fwd)
I got this but I no longer run a Digiboard.

---------- Forwarded message ----------
Date: Sun, 7 Feb 1999 18:56:12 -0800
From: Christopher Peterson <cpeterso@cs.washington.edu>
To: clameter@fuller.edu
Subject: pcxx bug in Linux 2.2.1
Christoph , I was scanning the Linux 2.2.1 source tree with a Lint script
and found the following bug. If you aren't the maintainer or owner of this
component, just let me know.


Keep up the good work!
chris




pcxe_init() does not check whether kmalloc() returned NULL. ch->tmp_buf may
be used in pcxe_write() without checking for NULL either.

./drivers/char/pcxx.c (1565): no immediate kmalloc check 27:
=kmalloc(ch->txbufsize,GFP_KERNEL) [ch->tmp_buf]





-
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:50    [from the cache]
©2003-2010