]> source.dussan.org Git - jgit.git/commit
reftable: increment pointer *after* reading uint16 81/147281/10
authorHan-Wen Nienhuys <hanwen@google.com>
Wed, 7 Aug 2019 21:28:32 +0000 (23:28 +0200)
committerHan-Wen Nienhuys <hanwen@google.com>
Mon, 19 Aug 2019 09:40:28 +0000 (11:40 +0200)
commitd7ee5aafee7c4eabeea6de8dd125a1ad4ddcdc0f
tree14100d18d10f3d05d239478bf3a20bf27e6761e6
parent81801d6f965bacaed6c044ed26b5119043eb2133
reftable: increment pointer *after* reading uint16

This fixes timezone reads out of the reflog.

Change-Id: I126d8742e5e904a074c544514180720466164f7c
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/reftable/ReftableTest.java
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/reftable/BlockReader.java