Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14109266
D20620.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
510 B
Referenced Files
None
Subscribers
None
D20620.diff
View Options
diff --git a/src/filesystem/PhutilProcessRef.php b/src/filesystem/PhutilProcessRef.php
--- a/src/filesystem/PhutilProcessRef.php
+++ b/src/filesystem/PhutilProcessRef.php
@@ -54,6 +54,11 @@
$pattern = array_values($pattern);
$is_match = true;
for ($ii = 0; $ii < count($pattern); $ii++) {
+ if (!isset($argv[$ii])) {
+ $is_match = false;
+ break;
+ }
+
if (basename($argv[$ii]) !== $pattern[$ii]) {
$is_match = false;
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 28, 2:01 PM (21 h, 20 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6800824
Default Alt Text
D20620.diff (510 B)
Attached To
Mode
D20620: When matching process titles, don't attempt a match if we're out of "argv" parts
Attached
Detach File
Event Timeline
Log In to Comment