git: Fix -Wsizeof-pointer-memaccess better.
Sascha Wildner
swildner at crater.dragonflybsd.org
Sun Apr 1 04:25:49 PDT 2018
commit 6f2950e09572b9cf2567a43570b1b42e90117d8c
Author: Sascha Wildner <saw at online.de>
Date: Fri Mar 23 10:19:01 2018 +0100
Fix -Wsizeof-pointer-memaccess better.
My previous commits:
56267d362d5769c8df07bf26d5e322610e0d24b4
562a180a58780b719830629307e6283c30c85229
caused out of bounds write by one byte. This commit fixes the
warning and restores the code what was there before.
Summary of changes:
contrib/opie/libopie/insecure.c | 3 ++-
libexec/comsat/comsat.c | 3 ++-
usr.bin/who/utmpentry.c | 12 ++++++------
3 files changed, 10 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6f2950e09572b9cf2567a43570b1b42e90117d8c
--
DragonFly BSD source repository
More information about the Commits
mailing list