commit | bbc83b16b9708ff71841c67e98cd973d5d65845a | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Thu Jul 02 10:48:05 2015 +0300 |
committer | Marco Nelissen <marcone@google.com> | Fri Jul 31 18:51:33 2015 +0000 |
tree | 7448e43d72afcbdc9108e23c3d092e7aa9656ae5 | |
parent | dbe9ac8936d115b59bbf37ee593e0fad83e3bf5e [diff] |
Don't use side effects in the macro PUT_BITS_SEV parameters If ENTROPY_TRACE is defined, the value parameter gets evaluated twice. Since this parameter includes ++, the pointer gets incremented twice. This fixes encoding with trace enabled. Bug: 22860270 Change-Id: I3d71ac33d007301e488d264a33c7b5c4d4ff2b56