On Sun, Apr 16, 2017 at 04:26:15PM +0400, Roman Bogorodskiy wrote:
> The osinfo_db_import_create_reg() function implements error handling
> via jumping to cleanup and returning, however, this way the return
> value is not initialised. This breaks build with clang and probably
> could lead to an und
The osinfo_db_import_create_reg() function implements error handling
via jumping to cleanup and returning, however, this way the return
value is not initialised. This breaks build with clang and probably
could lead to an undefined behavior for users of this function.
Fix by initialising ret with -