projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
[perl #37163] dprofpp array subscript error
[p5sagit/p5-mst-13.2.git]
/
utils
/
dprofpp.PL
diff --git
a/utils/dprofpp.PL
b/utils/dprofpp.PL
index
6270940
..
f9c487e
100644
(file)
--- a/
utils/dprofpp.PL
+++ b/
utils/dprofpp.PL
@@
-735,7
+735,7
@@
sub parsestack {
my $ot = $t;
if ( $dir eq '/' ) {
- $syst = $stack[-1][0];
+ $syst = $stack[-1][0] if scalar @stack;
$usert = '&';
$dir = '-';
#warn("Inserted exit for $stack[-1][0].\n")