Library Name | libudev |
---|---|
Version #1 | 053 |
Version #2 | 054 |
CPU Type | x86 |
GCC Version | 4.6.1 |
Total Header Files | 13 |
---|---|
Total Shared Libraries | 1 |
Total Symbols / Types | 39 / 49 |
Verdict | Incompatible (24.4%) |
Severity | Count | |
---|---|---|
Added Symbols | - | 4 |
Removed Symbols | High | 2 |
Problems with Data Types | High | 0 |
Medium | 34 | |
Low | 5 | |
Problems with Symbols | High | 3 |
Medium | 2 | |
Low | 1 | |
Problems with Constants | Low | 5 |
Other Changes in Constants | - | 3 |
Change | Effect | |
---|---|---|
1 | Parameter devt of type dev_t has been added to the calling stack at the middle position. | Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications. |
2 | 3rd middle parameter major has been removed from the calling stack. | Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications. |
3 | 4th middle parameter minor has been removed from the calling stack. | Layout of parameter's stack has been changed and therefore parameters at higher positions in the stack may be incorrectly initialized by applications. |
Change | Effect | |
---|---|---|
1 | Field attrlist has been added at the middle position of this structural type. | 1) Size of the inclusive type has been changed. 2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications. |
2 | Type of field path has been changed from char[255] (255 bytes) to char[256] (256 bytes). | This field may be incorrectly initialized or accessed by applications. |
3 | Type of field classname has been changed from char[50] (50 bytes) to char[64] (64 bytes). | 1) Size of the inclusive type has been changed. 2) Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken. |
4 | Type of field name has been changed from char[50] (50 bytes) to char[64] (64 bytes). | 1) Size of the inclusive type has been changed. 2) Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken. |
5 | The relative position of field classname has been changed from 1 to 2. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
6 | The relative position of field path has been changed from 2 to 1. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
7 | Field directory has been removed from this type. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
8 | Field driver has been removed from this type. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
Change | Effect | |
---|---|---|
1 | Field attrlist has been added at the middle position of this structural type. | 1) Size of the inclusive type has been changed. 2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications. |
2 | Type of field path has been changed from char[255] (255 bytes) to char[256] (256 bytes). | This field may be incorrectly initialized or accessed by applications. |
3 | Type of field bus has been changed from char[50] (50 bytes) to char[64] (64 bytes). | 1) Size of the inclusive type has been changed. 2) Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken. |
4 | Type of field bus_id has been changed from char[50] (50 bytes) to char[64] (64 bytes). | 1) Size of the inclusive type has been changed. 2) Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken. |
5 | Type of field driver_name has been changed from char[50] (50 bytes) to char[64] (64 bytes). | 1) Size of the inclusive type has been changed. 2) Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken. |
6 | Type of field name has been changed from char[50] (50 bytes) to char[64] (64 bytes). | 1) Size of the inclusive type has been changed. 2) Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken. |
7 | The relative position of field driver_name has been changed from 3 to 4. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
8 | The relative position of field path has been changed from 4 to 1. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
9 | Field directory has been removed from this type. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
10 | The relative position of field bus has been changed from 2 to 3. | Applications will access incorrect memory when attempting to access this field. |
11 | The relative position of field bus_id has been changed from 1 to 2. | Applications will access incorrect memory when attempting to access this field. |
Change | Effect | |
---|---|---|
1 | Field ignore_device has been added at the middle position of this structural type. | 1) Size of the inclusive type has been changed. 2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications. |
2 | The relative position of field bus has been changed from 1 to 3. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
3 | The relative position of field driver has been changed from 8 to 9. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
4 | The relative position of field id has been changed from 2 to 4. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
5 | The relative position of field kernel has been changed from 4 to 1. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
6 | The relative position of field place has been changed from 3 to 5. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
7 | The relative position of field program has been changed from 5 to 7. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
8 | The relative position of field result has been changed from 6 to 8. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
9 | The relative position of field subsystem has been changed from 7 to 2. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
10 | The relative position of field symlink has been changed from 10 to 11. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
11 | The relative position of field sysfs_pair has been changed from 11 to 6. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
12 | The relative position of field name has been changed from 9 to 10. | Applications will access incorrect memory when attempting to access this field. |
Change | Effect | |
---|---|---|
1 | Type of field bus_id has been changed from char[50] (50 bytes) to char[64] (64 bytes). | 1) Size of the inclusive type has been changed. 2) Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken. |
2 | Field major has been removed from this type. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
3 | Field minor has been removed from this type. | 1) Applications will access incorrect memory when attempting to access this field. 2) Size of the inclusive type has been changed. |
Change | Effect | |
---|---|---|
1 | Size of this global data has been changed from 255 bytes to 256 bytes. | Applications will obtain a different value and execution may change. |
2 | Type of this global data has been changed from char[255] (255 bytes) to char[256] (256 bytes). | Applications will obtain a different value and execution may change. |
Change | Effect | |
---|---|---|
1 | Size of this type has been changed from 372 bytes to 396 bytes. | The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications. |
Change | Effect | |
---|---|---|
1 | Size of this type has been changed from 468 bytes to 524 bytes. | The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications. |
Change | Effect | |
---|---|---|
1 | Size of this type has been changed from 2584 bytes to 2588 bytes. | The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications. |
Change | Effect | |
---|---|---|
1 | Field devt has been added to this type. | 1) This field will not be initialized by old clients. 2) Size of the inclusive type has been changed. NOTE: this field should be accessed only from the new library functions, otherwise it may result in crash or incorrect behavior of applications. |
2 | Size of this type has been changed from 2484 bytes to 2496 bytes. | The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications. |
Change | Effect | |
---|---|---|
1 | Type of return value has been changed from void to int (4 bytes). | Replacement of return type may indicate a change in its semantic meaning. |
Change | Effect | |
---|---|---|
1 | The value of constant SYSFS_BUS_ID_SIZE has been changed from 20 to 32. | Applications will pass an old value of this constant as the parameter to the new-version library functions, that expect a new one. This may result in crash of incorrect behavior of applications. |
Change | Effect | |
---|---|---|
1 | The constant SYSFS_METHOD_SHOW with value 0x01 has been removed. | The value of this constant may no longer be properly handled by new-version library functions. |
Change | Effect | |
---|---|---|
1 | The constant SYSFS_METHOD_STORE with value 0x02 has been removed. | The value of this constant may no longer be properly handled by new-version library functions. |
Change | Effect | |
---|---|---|
1 | The value of constant SYSFS_NAME_LEN has been changed from 50 to 64. | Applications will pass an old value of this constant as the parameter to the new-version library functions, that expect a new one. This may result in crash of incorrect behavior of applications. |
Change | Effect | |
---|---|---|
1 | The value of constant SYSFS_PATH_MAX has been changed from 255 to 256. | Applications will pass an old value of this constant as the parameter to the new-version library functions, that expect a new one. This may result in crash of incorrect behavior of applications. |
Change | Effect | |
---|---|---|
1 | The constant SYSFS_MODULE_NAME with value "module" has been added. | No effect. |
Change | Effect | |
---|---|---|
1 | The constant ATTR_IGNORE_DEVICE with value "ignore_device" has been added. | No effect. |
Change | Effect | |
---|---|---|
1 | The constant FIELD_OPTIONS with value "OPTIONS" has been added. | No effect. |