| Summary: |
xcmsdb segfaults on xcms.txt (patch included) |
| Product: |
xorg
|
Reporter: |
walter <wharms> |
| Component: |
App/other | Assignee: |
Xorg Project Team <xorg-team> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
Xorg Project Team <xorg-team> |
| Severity: |
normal
|
|
|
| Priority: |
medium
|
Keywords: |
patch |
| Version: |
7.2 (2007.02) | |
|
| Hardware: |
Other | |
|
| OS: |
All | |
|
| Whiteboard: |
|
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
xcmsdb colors Speicherzugriffsfehler offendig file colors: SCREENDATA_BEGIN XCMS_COLORDB_BEGIN 0.1 reason: strcmp() withput checking if we have realy a string. --- loadData.c.org 2007-11-22 17:35:13.000000000 +0100 +++ loadData.c 2007-11-22 17:37:09.000000000 +0100 @@ -1479,7 +1479,7 @@ } token1 = strtok((char*)NULL, DATA_DELIMS); - if ((strcmp(token1, TXT_FORMAT_VERSION) != 0) && + if ( token1 && (strcmp(token1, TXT_FORMAT_VERSION) != 0) && (strcmp(token1, "0.3") != 0)) { fprintf(stderr, "Screen data format version mismatch in file %s-- expected %s, found %s\n",