Bug 146503 - pcsc-towitoko-2.0.7-2: array subscript out of range
Summary: pcsc-towitoko-2.0.7-2: array subscript out of range
Status: RESOLVED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: All SUSE Other
: P5 - None : Minor
Target Milestone: ---
Assignee: Marian Jancar
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-29 09:28 UTC by David Binderman
Modified: 2006-02-06 19:01 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2006-01-29 09:28:04 UTC
I just tried to compile package pcsc-towitoko-2.0.7-2 with the Intel C compiler.

It said

tester.c(1078): warning #175: subscript out of range

The source code is

        read_binary[6] = (unsigned char) (size & 0x00FF);

but

  unsigned char read_binary[6] = { 0x00, 0xB0, 0x00, 0x00, 0x00, 0x00 };

I agree with the compiler.  Suggest make local array one bigger.

BTW, I tried emailing the maintainer this bug report, but he says
he no longer maintains it.
Comment 1 Marian Jancar 2006-02-06 19:01:50 UTC
The tester is not included in the binary package.