[PATCH resend] ofnet: Initialize structs in bootpath parser

2018-08-23 Thread Julian Andres Klode
Code later on checks if variables inside the struct are 0 to see if they have been set, like if there were addresses in the bootpath. The variables were not initialized however, so the check might suceed with uninitialized data, and a new interface with random addresses has been added. This

[PATCH] ofnet: Initialize structs in bootpath parser

2018-08-23 Thread Julian Andres Klode
Code later on checks if variables inside the struct are 0 to see if they have been set, like if there were addresses in the bootpath. The variables were not initialized however, so the check might suceed with uninitialized data, and a new interface with random addresses has been added. This