New compile warnings...

Hal Murray halmurray at sonic.net
Wed Nov 3 04:15:25 UTC 2021


Looks like a compiler bug to me.  But that's just a quick look.

Are you using some non-standard compiler options?  Does it get the same errors 
on a different architecture?

The first one is in libntp/authkeys.c so I should be familiar with that code.

It's complaining about the second line in this pair:
                auth->digest = NULL;
                auth->cipher = NULL;
by saying:
  warning: dereference of NULL \u2018auth\u2019

There are a whole bunch of other references to auth->xxx above, so I think it 
should have complained much earlier.


This looks fushy too:
  warning: leak of FILE \u2018farg\u2019
It gets closed a couple of layers up.



-- 
These are my opinions.  I hate spam.





More information about the devel mailing list