[PATCH v2 0/2] some syslinux parser updates

Brett Grandbois brett.grandbois at opengear.com
Wed Apr 18 10:20:42 AEST 2018


Fix a memory lead and duplicate entry issue where the discovered option list
wasn't being cleared for each configuration file.

Filter configuration file paths so that case-insensitive filesystems (vfat)
don't get duplicate boot options.

Changes for v2:
  * Update all list_for_each_entry() to list_for_each_entry_safe()
  * Move syslinux process options list clear to outside the processing loop

Brett Grandbois (2):
  discover/syslinux-parser: clean up boot option list entries
  discover/syslinux-parser: filter out duplicate conf files

 discover/syslinux-parser.c | 46 ++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 44 insertions(+), 2 deletions(-)

-- 
2.7.4



More information about the Petitboot mailing list