Changeset d7a9b8b1971d17585e0e8675cb203e7ea6f9b028
- Timestamp:
- 02/25/08 18:56:03
(6 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1203962163 +0000
- git-parent:
[0038d622336bafef539b7be12b468acf22ce4f4f]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1203962163 +0000
- Message:
Don't look for plugins from the current working directory.
This can cause needless I/O, and consistutes a trivial local privilege esclation.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0d4b087 |
rd7a9b8b |
|
| 840 | 840 | /* Yes, there are two NULLs because we replace one with "plugin-path". */ |
|---|
| 841 | 841 | #if defined( WIN32 ) || defined( UNDER_CE ) |
|---|
| 842 | | const char *path[] = { "modules", "", "plugins", NULL, NULL }; |
|---|
| | 842 | const char *path[] = { "plugins", NULL, NULL }; |
|---|
| 843 | 843 | #else |
|---|
| 844 | | const char *path[] = { "modules", PLUGIN_PATH, "plugins", NULL, NULL }; |
|---|
| | 844 | const char *path[] = { PLUGIN_PATH, NULL, NULL }; |
|---|
| 845 | 845 | #endif |
|---|
| 846 | 846 | |
|---|