git: ee(1): Fix an uninitialized variable.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Jan 9 19:19:10 PST 2016


commit de8b1edaedf13dda910da008d2356a16f9cb1e03
Author: Sascha Wildner <saw at online.de>
Date:   Sun Jan 10 04:18:30 2016 +0100

    ee(1): Fix an uninitialized variable.
    
    Since ee(1) was switched from mktemp() to mkstemp(), the file name is
    no longer initialized. Initialize it to NULL at least. The message in
    case of an error will still be confusing, but for now, live with it.

Summary of changes:
 contrib/ee/ee.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/de8b1edaedf13dda910da008d2356a16f9cb1e03


-- 
DragonFly BSD source repository



More information about the Commits mailing list