2007/11/20, prakash ns <[EMAIL PROTECTED]>: > Hi everyone, > > I am using a SCM SDI010 Reader to interact with a JCOP 21 card. > > > I have interfaced the USB smartcard reader with my application. > > Iam using pcsclite-1.2.0 with 2.4.20-8 kernel. > > I am able to read and write from the card at low level. > > I have interfaced with the application but the reader responds to > some read or write calls from the application and gives me the problem of > insufficient buffer which i am unable to debug. > >If i change any particular variable, say i declare an integer then > it works fine. > > I dont understand how a declaration of a variable which is not used > anywhere else in a particular function helps in solving the problem. > I have tried all versions upto pcsclite-1.4.4. > > Please do suggest a solution.
It looks like a memory corruption [1] in your program. Good luck finding the bug. [1] http://en.wikipedia.org/wiki/Memory_corruption -- Dr. Ludovic Rousseau _______________________________________________ Muscle mailing list Muscle@lists.musclecard.com http://lists.drizzle.com/mailman/listinfo/muscle