diff options
author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2018-05-25 01:41:33 +0200 |
---|---|---|
committer | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2018-06-01 13:04:16 +0200 |
commit | 93271f590710772a9f71448d67e818235d07219c (patch) | |
tree | 6d94ea4e1eaf1c8f7db947f1db2c8589a8c7aaff /tests/diff/blob.c | |
parent | 771dfd1dd1c27a4693dfdfea521c07e72f456b29 (diff) | |
download | libgit2-93271f590710772a9f71448d67e818235d07219c.tar.gz |
index: Fix alignment issues in write_disk_entry()
In order to avoid alignment issues on certain target architectures,
it is necessary to use memcpy() when modifying elements of a struct
inside a buffer returned by git_filebuf_reserve().
Diffstat (limited to 'tests/diff/blob.c')
0 files changed, 0 insertions, 0 deletions