pkgconf_path_add() can unexpectedly end up with duplicate records #151

Closed
opened 2017-10-16 09:54:41 +00:00 by karen-arutyunov · 0 comments
karen-arutyunov commented 2017-10-16 09:54:41 +00:00 (Migrated from github.com)

Implementation of the pkgconf_path_add() function called with the filter argument equal true can end up with duplicate records in the dirlist if compiled with undefined PKGCONF_CACHE_INODES macro. This can happen if relocated path differs from the original one, because the function checks non-relocated path for presence in the list but adds the relocated path afterwards.

Implementation of the pkgconf_path_add() function called with the filter argument equal true can end up with duplicate records in the dirlist if compiled with undefined PKGCONF_CACHE_INODES macro. This can happen if relocated path differs from the original one, because the function checks non-relocated path for presence in the list but adds the relocated path afterwards.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ariadne/pkgconf#151
There is no content yet.