The thorny case of kmalloc(0)
Posted Jun 7, 2007 11:59 UTC (Thu) by
HenrikH (guest, #31152)
In reply to:
The thorny case of kmalloc(0) by evgeny
Parent article:
The thorny case of kmalloc(0)
And you are correct, but since there is people who apparantly uses kmalloc (0) I can se no other way to solve this problem. Either we let kmalloc return NULL only on error and not let size=0 be an error or we have to convert all these kmalloc(0) cases which turnoed out be quite a job.
(
Log in to post comments)