[Bug 71602] [patch] uninitialized "len" used instead of "slen" within setkey(8) code

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 26 07:30:06 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=71602

--- Comment #4 from Dan Lukes <dan at obluda.cz> ---
Clang no longer complains on dereferencing type-punned pointer and len -> slen
issue has been solved 10 years ago.

It still emit warning "variable 'p2' is used uninitialized", but now it's false
warning, real error is no longer behind. 

My (ancient) effort to clean up code from warnings (and from true errors hidden
behind of some of them) has failed because of lack of interest on committers
side. I'm giving up on it.

Warning related to uninitialized p2 still should be mitigated, but I'm not
going to re-create patch (14 years old patch no longer fit current code). I'm
so old to wait years for someone willing to review it (no offense of any king -
I'm just so old).  

Let's close this PR. Thank you for the time you spent on it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list