Revision 613537

Go back to digest for 17th December 2006

Bug Fixes in Multimedia

Erik Hovland committed changes in /trunk/extragear/multimedia/amarok/src/collectionscanner/collectionscanner.cpp:

This closes a potential race condition when recursing directories.
The code was written to operate on a directory path string. This means that potential exploits could leverage that to gain advantage.
This change opendir's the path early on and attempts to use a file descriptor instead.

There is no known way to leverage this race condition so the commit should be uncontroversial.

File Changes

Modified 1 files
  • /trunk/extragear/multimedia/amarok/src/collectionscanner/collectionscanner.cpp
1 files changed in total