Hello,

Your patch it's ok. I test and remove a problem with the initialization.

Sincerely,
GJean

-----Message d'origine-----
De : Ludovic Rousseau [mailto:[email protected]] 
Envoyé : mercredi 15 septembre 2010 11:32
À : JEAN Guillaume
Cc : [email protected]
Objet : Re: [opensc-devel] OpenSC and Debug with Visual Studio

Hello,

2010/9/15 JEAN Guillaume <[email protected]>:
> I made a patch to remove a problem with the initialization of 
> structures when using Visual Studio debugger mode. Because
>  Visual Studio does not initialize the structure with 0 but random data. In 
> my case cdcdcdcd.

I don't think your patch is correct.
The problem is that refresh_attributes() is called with a not correctly 
initialized reader parameter.

I propose the attached patch instead.
Can you try it and report success/failure?

Bye

--
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to