git: DragonFly_RELEASE_5_2 Fix -Wsizeof-pointer-memaccess better.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Apr 1 04:25:53 PDT 2018


commit 61ca217d2328ad2b607d5f4dcb4b28e4617215e1
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/61ca217d2328ad2b607d5f4dcb4b28e4617215e1


-- 
DragonFly BSD source repository



More information about the Commits mailing list