-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manifest: check for unparsed keys and groups
So far having an invalid key or group in the manifest was neither discovered nor handled. This might make it more difficult for manifest writers to discover issues. The only hint for a bug in their manifest was that the respective key or group suddenly dissapeared in the rewritten manifest. This patch removes each parsed key of the currently parsed group from the GKeyFile structure and reports an issue if there is a remaining key after having parsed the entire group. Accordingly, each group is removed after having parsed it. At the end, a remaining group will be reported, too. Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
- Loading branch information
Showing
1 changed file
with
110 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters