Re: [RFC PATCH] KEYS: Use individual pages in big_key for crypto buffers [ver #2]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Biggers <ebiggers3@xxxxxxxxx> wrote:

> memset() after vunmap(), and also when buf->virt can be NULL?  I had suggested:
> 
>         if (buf->virt) {
>                 memset(buf->virt, 0, buf->nr_pages * PAGE_SIZE);
>                 vunmap(buf->virt);
>         }

Sorry, yes.  I don't know why the change I made doesn't oops.

David



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux