[Pcsclite-muscle] New version of pcsc-lite: 1.9.6

Axel Braun axel.braun at gmx.de
Thu May 12 08:42:28 PDT 2022


Hello Ludovic,

Am Donnerstag, 12. Mai 2022, 15:20:01 CEST schrieb Ludovic Rousseau:
> Le mer. 11 mai 2022 à 23:04, Axel Braun <axel.braun at gmx.de> a écrit :

> > With the option --disable-strict the error is gone.
> > 
> > Is this what you recommend in that case?
> 
> Yes. The error should just be a warning and ignored.

yes, the log stated that all warnings are treated as errors....
 
> Can apply this patch and try again:
> diff --git a/src/pcscdaemon.c b/src/pcscdaemon.c
> index e07ade4..35649c3 100644
> --- a/src/pcscdaemon.c
> +++ b/src/pcscdaemon.c
> @@ -107,7 +107,7 @@ static void SVCServiceRunLoop(void)
>  {
>      int rsp;
>      LONG rv;
> -    uint32_t dwClientID;    /* Connection ID used to reference the Client
> */ +    uint32_t dwClientID = 0;    /* Connection ID used to reference the
> Client */
> 
>      while (TRUE)
>      {
> 
> 
> 
> The problem is detected at the link stage, not compilation.

Yes, seen that in the log as well

The patch helped in fact for Tumbleweed, but failed to build for the Leap 
versions, so I reverted that

> It is nice to see progress in the static analysis of our tools.
> 
> What version of OS and gcc do you use?

I'm building for openSUSE Tumbleweed, current with gcc11, gcc12 is default 
compiler very soon (snapshot 20220510)

Cheers
Axel





More information about the pcsclite-muscle mailing list