All of lore.kernel.org
 help / color / mirror / Atom feed
* UDF possible NULL pointer usage
@ 2007-03-18  8:36 Cyrill Gorcunov
  0 siblings, 0 replies; only message in thread
From: Cyrill Gorcunov @ 2007-03-18  8:36 UTC (permalink / raw)
  To: Ben Fennema; +Cc: linux-kernel-list

Hi Ben,

you know the udf_fill_inode() in inode.c does not
check if memory allocation failed:

	UDF_I_DATA(inode) = kmalloc(inode->i_sb->s_blocksize -
	sizeof(struct extendedFileEntry), GFP_KERNEL);

so the question I have is - what kind of handler there
should be: just exit out from the function or mark
the inode as bad?

		Cyrill


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-18  8:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-18  8:36 UDF possible NULL pointer usage Cyrill Gorcunov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.