Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287111
b: refs/heads/master
c: e2fe85c
h: refs/heads/master
i:
  287109: d36ab02
  287107: 5d7687e
  287103: fa6c1d7
v: v3
  • Loading branch information
Dmitry Kasatkin authored and James Morris committed Feb 1, 2012
1 parent 92e7edd commit e442254
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e87c5e35a92e045de75fb6ae9846a38bdd0f92bd
refs/heads/master: e2fe85c236736c866481de288f636ab06ef49787
3 changes: 3 additions & 0 deletions trunk/lib/mpi/mpi-div.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ int mpi_tdiv_qr(MPI quot, MPI rem, MPI num, MPI den)
mpi_ptr_t marker[5];
int markidx = 0;

if (!dsize)
return -EINVAL;

memset(marker, 0, sizeof(marker));

/* Ensure space is enough for quotient and remainder.
Expand Down

0 comments on commit e442254

Please sign in to comment.