Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 632696

Summary: postinst-qa-check.d/50xdg-utils: Files found by xdg_desktop_database_check() leak to xdg_mimeinfo_database_check()
Product: Portage Development Reporter: Arfrever Frehtes Taifersar Arahesis <arfrever.fta>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 631448    

Description Arfrever Frehtes Taifersar Arahesis 2017-10-02 14:54:53 UTC
In postinst-qa-check.d/50gnome2-utils, gnome2_icon_cache_check() contains 'local all_files=()'.

In postinst-qa-check.d/50xdg-utils, xdg_desktop_database_check() and xdg_mimeinfo_database_check() are missing 'local all_files=()', so files found by xdg_desktop_database_check() are also reported by xdg_mimeinfo_database_check().
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-10-02 15:41:42 UTC
Since Zac modified the code to the point where it doesn't make any sense to me anymore, I will leave fixing this to him.
Comment 3 Zac Medico gentoo-dev 2017-10-02 19:37:27 UTC
Released in 2.3.11.