Library Name | libwiretap |
---|---|
Version #1 | 4.0.8 |
Version #2 | 5.0.0 |
CPU Type | x86_64 |
GCC Version | 4.8 |
Subject | Binary Compatibility |
Total Header Files | 61 |
---|---|
Total Shared Libraries | 1 |
Total Symbols / Types | 96 / 170 |
Verdict | Incompatible (42.7%) |
Severity | Count | |
---|---|---|
Added Symbols | - | 24 |
Removed Symbols | High | 8 |
Problems with Data Types | High | 2 |
Medium | 15 | |
Low | 16 | |
Problems with Symbols | High | 2 |
Medium | 1 | |
Low | 4 | |
Problems with Constants | Low | 10 |
Other Changes in Data Types | - | 1 |
Change | Effect | |
---|---|---|
1 | Field number_of_interfaces has been removed from the middle position of this structural type. | 1) Previous accesses of applications to the removed field will be incorrect. 2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications. |
Change | Effect | |
---|---|---|
1 | Field subtype_close has been removed from the middle position of this structural type. | 1) Previous accesses of applications to the removed field will be incorrect. 2) Layout of structure fields has been changed and therefore fields at higher positions of the structure definition may be incorrectly accessed by applications. |
Change | Effect | |
---|---|---|
1 | Parameter nrb_hdr of type wtapng_name_res_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. |
Change | Effect | |
---|---|---|
1 | Parameter nrb_hdr of type wtapng_name_res_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. |
Change | Effect | |
---|---|---|
1 | Field nrb_hdr 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 | Size of field phdr has been changed from 208 bytes to 248 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. |
Change | Effect | |
---|---|---|
1 | Field is_stdout 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 | Field nrb_hdr 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. |
3 | Field subtype_finish 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. |
Change | Effect | |
---|---|---|
1 | Field datapad 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 | Field frequency 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. |
3 | Field phy 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. |
4 | Field phy_info 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. |
5 | Field presence_flags 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. |
6 | Type of field channel has been changed from guint8 (1 byte) to guint16 (2 bytes). | This field may be incorrectly initialized or accessed by applications. |
7 | Field signal_level 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 ft_specific_data 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 | Field pkt_tsprec 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. |
Change | Effect | |
---|---|---|
1 | Size of field ieee_802_11 has been changed from 16 bytes to 64 bytes. | Previous accesses of applications and library functions to this field and fields at higher positions of the structure definition may be broken. |
Change | Effect | |
---|---|---|
1 | Parameter err_info of type gchar** has been added to the calling stack. | This parameter will not be initialized by old clients. |
Change | Effect | |
---|---|---|
1 | Size of this type has been changed from 376 bytes to 416 bytes. | The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications. |
2 | Field tsprecision has been renamed to file_tsprec. | Renaming of a field in data type may indicate a change in the semantic meaning of the field. |
Change | Effect | |
---|---|---|
1 | Size of this type has been changed from 96 bytes to 112 bytes. | The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications. |
2 | Type of field shb_hdr has been changed from struct wtapng_section_s* to wtapng_section_t*. | Replacement of the field data type may indicate a change in the semantic meaning of the field. |
Change | Effect | |
---|---|---|
1 | Base type has been changed from gboolean(*)(struct wtap_dumper*,struct wtap_pkthdr const*,guint8 const*,int*) to gboolean(*)(struct wtap_dumper*,struct wtap_pkthdr const*,guint8 const*,int*,gchar**). | Possible incorrect initialization of parameters by applications. |
Change | Effect | |
---|---|---|
1 | Field noise_dbm 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 | Field noise_percent 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. |
3 | Field signal_dbm 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. |
4 | Field signal_percent 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. |
5 | Field tsf_timestamp 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. |
6 | Size of this type has been changed from 16 bytes to 64 bytes. | The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications. |
Change | Effect | |
---|---|---|
1 | Type of field type has been changed from int to enum wtap_open_type. | Replacement of the field data type may indicate a change in the semantic meaning of the field. |
Change | Effect | |
---|---|---|
1 | Size of this type has been changed from 208 bytes to 248 bytes. | The fields or parameters of such data type may be incorrectly initialized or accessed by old client applications. |
Change | Effect | |
---|---|---|
1 | Type of field shb_user_appl has been changed from gchar const* to gchar*. | Replacement of the field data type may indicate a change in the semantic meaning of the field. |
Change | Effect | |
---|---|---|
1 | Base type has been changed from int(*)(struct wtap*,int*,char**) to enum wtap_open_return_val(*)(struct wtap*,int*,char**). | Possible incorrect initialization of parameters by applications. |
Change | Effect | |
---|---|---|
1 | Field sysdig_event has been added to this type. | NOTE: this field should be accessed only from the new library functions, otherwise it may result in crash or incorrect behavior of applications. |
Change | Effect | |
---|---|---|
1 | 2nd parameter filetype has been renamed to file_type_subtype. | Renaming of a parameter may indicate a change in its semantic meaning. |
Change | Effect | |
---|---|---|
1 | 2nd parameter filetype has been renamed to file_type_subtype. | Renaming of a parameter may indicate a change in its semantic meaning. |
Change | Effect | |
---|---|---|
1 | 2nd parameter filetype has been renamed to file_type_subtype. | Renaming of a parameter may indicate a change in its semantic meaning. |
Change | Effect | |
---|---|---|
1 | 2nd parameter filetype has been renamed to file_type_subtype. | Renaming of a parameter may indicate a change in its semantic meaning. |
Change | Effect | |
---|---|---|
1 | The value of constant WTAP_ERR_CANT_CLOSE has been changed from -10 to -11. | 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 WTAP_ERR_CANT_SEEK has been changed from -20 to -18. | 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 WTAP_ERR_CANT_SEEK_COMPRESSED has been changed from -21 to -19. | 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 WTAP_ERR_CHECK_WSLUA has been changed from -25 to -23. | 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 WTAP_ERR_COMPRESSION_NOT_SUPPORTED has been changed from -19 to -17. | 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 WTAP_ERR_DECOMPRESS has been changed from -22 to -20. | 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 WTAP_ERR_INTERNAL has been changed from -23 to -21. | 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 WTAP_ERR_PACKET_TOO_LARGE has been changed from -24 to -22. | 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 WTAP_ERR_RANDOM_OPEN_STDIN has been changed from -18 to -16. | 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 WTAP_ERR_UNC_OVERFLOW has been changed from -16 to -15. | 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 | Field shb_user_appl became non-const. | No effect. |
Library Name | libwiretap |
---|---|
Version #1 | 4.0.8 |
Version #2 | 5.0.0 |
CPU Type | x86_64 |
GCC Version | 4.8 |
Subject | Source Compatibility |
Total Header Files | 61 |
---|---|
Total Shared Libraries | 1 |
Total Symbols / Types | 96 / 170 |
Verdict | Incompatible (42.7%) |
Severity | Count | |
---|---|---|
Added Symbols | - | 24 |
Removed Symbols | High | 8 |
Problems with Data Types | High | 4 |
Medium | 0 | |
Low | 5 | |
Problems with Symbols | High | 2 |
Medium | 1 | |
Low | 0 | |
Problems with Constants | Low | 10 |
Other Changes in Data Types | - | 18 |
Other Changes in Symbols | - | 4 |
Change | Effect | |
---|---|---|
1 | Field number_of_interfaces has been removed from this type. | Recompilation of a client program may be broken with the error message: 'struct wtap' has no member named 'number_of_interfaces'. |
2 | Field tsprecision has been renamed to file_tsprec. | Recompilation of a client program may be broken with the error message: struct wtap has no member named tsprecision. |
Change | Effect | |
---|---|---|
1 | Field subtype_close has been removed from this type. | Recompilation of a client program may be broken with the error message: 'struct wtap_dumper' has no member named 'subtype_close'. |
Change | Effect | |
---|---|---|
1 | Field signal_level has been removed from this type. | Recompilation of a client program may be broken with the error message: 'struct ieee_802_11_phdr' has no member named 'signal_level'. |
Change | Effect | |
---|---|---|
1 | Parameter nrb_hdr of type wtapng_name_res_t* has been added to the calling stack at the middle position. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | Parameter nrb_hdr of type wtapng_name_res_t* has been added to the calling stack at the middle position. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | Parameter err_info of type gchar** has been added to the calling stack. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | Type of field shb_hdr has been changed from struct wtapng_section_s* to wtapng_section_t*. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | Base type has been changed from gboolean(*)(struct wtap_dumper*,struct wtap_pkthdr const*,guint8 const*,int*) to gboolean(*)(struct wtap_dumper*,struct wtap_pkthdr const*,guint8 const*,int*,gchar**). | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | Type of field channel has been changed from guint8 to guint16. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | Type of field type has been changed from int to enum wtap_open_type. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | Base type has been changed from int(*)(struct wtap*,int*,char**) to enum wtap_open_return_val(*)(struct wtap*,int*,char**). | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | The value of constant WTAP_ERR_CANT_CLOSE has been changed from -10 to -11. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | The value of constant WTAP_ERR_CANT_SEEK has been changed from -20 to -18. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | The value of constant WTAP_ERR_CANT_SEEK_COMPRESSED has been changed from -21 to -19. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | The value of constant WTAP_ERR_CHECK_WSLUA has been changed from -25 to -23. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | The value of constant WTAP_ERR_COMPRESSION_NOT_SUPPORTED has been changed from -19 to -17. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | The value of constant WTAP_ERR_DECOMPRESS has been changed from -22 to -20. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | The value of constant WTAP_ERR_INTERNAL has been changed from -23 to -21. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | The value of constant WTAP_ERR_PACKET_TOO_LARGE has been changed from -24 to -22. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | The value of constant WTAP_ERR_RANDOM_OPEN_STDIN has been changed from -18 to -16. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | The value of constant WTAP_ERR_UNC_OVERFLOW has been changed from -16 to -15. | Recompilation of a client program may be broken. |
Change | Effect | |
---|---|---|
1 | Field nrb_hdr has been added to this type. | No effect. |
Change | Effect | |
---|---|---|
1 | Field is_stdout has been added to this type. | No effect. |
2 | Field nrb_hdr has been added to this type. | No effect. |
3 | Field subtype_finish has been added to this type. | No effect. |
Change | Effect | |
---|---|---|
1 | Field datapad has been added to this type. | No effect. |
2 | Field frequency has been added to this type. | No effect. |
3 | Field noise_dbm has been added to this type. | No effect. |
4 | Field noise_percent has been added to this type. | No effect. |
5 | Field phy has been added to this type. | No effect. |
6 | Field phy_info has been added to this type. | No effect. |
7 | Field presence_flags has been added to this type. | No effect. |
8 | Field signal_dbm has been added to this type. | No effect. |
9 | Field signal_percent has been added to this type. | No effect. |
10 | Field tsf_timestamp has been added to this type. | No effect. |
Change | Effect | |
---|---|---|
1 | Field ft_specific_data has been added to this type. | No effect. |
2 | Field pkt_tsprec has been added to this type. | No effect. |
Change | Effect | |
---|---|---|
1 | Field shb_user_appl became non-const. | No effect. |
Change | Effect | |
---|---|---|
1 | Field sysdig_event has been added to this type. | No effect. |
Change | Effect | |
---|---|---|
1 | 2nd parameter filetype has been renamed to file_type_subtype. | No effect. |
Change | Effect | |
---|---|---|
1 | 2nd parameter filetype has been renamed to file_type_subtype. | No effect. |
Change | Effect | |
---|---|---|
1 | 2nd parameter filetype has been renamed to file_type_subtype. | No effect. |
Change | Effect | |
---|---|---|
1 | 2nd parameter filetype has been renamed to file_type_subtype. | No effect. |