Loading lib/mpi/mpicoder.c +2 −0 Original line number Diff line number Diff line Loading @@ -255,6 +255,8 @@ void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign) if (!n) n++; /* avoid zero length allocation */ p = buffer = kmalloc(n, GFP_KERNEL); if (!p) return NULL; for (i = a->nlimbs - 1; i >= 0; i--) { alimb = a->d[i]; Loading Loading
lib/mpi/mpicoder.c +2 −0 Original line number Diff line number Diff line Loading @@ -255,6 +255,8 @@ void *mpi_get_buffer(MPI a, unsigned *nbytes, int *sign) if (!n) n++; /* avoid zero length allocation */ p = buffer = kmalloc(n, GFP_KERNEL); if (!p) return NULL; for (i = a->nlimbs - 1; i >= 0; i--) { alimb = a->d[i]; Loading