Re: [patch] UBIFS: use kmalloc_array() in recomp_data_node()

Artem Bityutskiy
2012-11-22T11:29:33Z

[-- Attachment #1: Type: text/plain, Size: 284 bytes --]

On Thu, 2012-11-22 at 13:26 +0200, Artem Bityutskiy wrote:
> Did you consider kcalloc() ? Just like malloc() / calloc() libc
> functions?

Ah, there is kcaoloc already, so I guess then we could just put the
overflow check there instead?

--
Best Regards,
Artem Bityutskiy

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]