Mailinglist Archive: opensuse-bugs (4369 mails)
| < Previous | Next > |
[Bug 204770] New: pcsc-lite-1.3.1-5: array subscript out of range
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Sun, 10 Sep 2006 15:58:36 -0600 (MDT)
- Message-id: <bug-204770-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=204770
Summary: pcsc-lite-1.3.1-5: array subscript out of range
Product: openSUSE 10.2
Version: Alpha 4
Platform: All
OS/Version: SuSE Linux 10.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
I just tried to compile package pcsc-lite-1.3.1-5 with the
Intel C compiler.
The compiler said
error.c(164): warning #175: subscript out of range
The source code is
/* add a null byte */
strError[sizeof(strError)] = '\0';
Clearly broken code. Suggest new code
/* add a null byte */
strError[ sizeof(strError) - 1] = '\0';
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Summary: pcsc-lite-1.3.1-5: array subscript out of range
Product: openSUSE 10.2
Version: Alpha 4
Platform: All
OS/Version: SuSE Linux 10.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Basesystem
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
I just tried to compile package pcsc-lite-1.3.1-5 with the
Intel C compiler.
The compiler said
error.c(164): warning #175: subscript out of range
The source code is
/* add a null byte */
strError[sizeof(strError)] = '\0';
Clearly broken code. Suggest new code
/* add a null byte */
strError[ sizeof(strError) - 1] = '\0';
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
| < Previous | Next > |