projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc1e993
)
Fix an off by one error, found by valgrind
author
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 24 Oct 2007 09:31:43 +0000
(09:31 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Wed, 24 Oct 2007 09:31:43 +0000
(09:31 +0000)
p4raw-id: //depot/perl@32183
op.c
patch
|
blob
|
history
diff --git
a/op.c
b/op.c
index c16c111ee4e82cf99c605f5e485f563097a30cd0..e68b86fbf767625d9565855823dcc2569bee1159 100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-7243,7
+7243,7
@@
Perl_ck_require(pTHX_ OP *o)
for (; s < end; s++) {
if (*s == ':' && s[1] == ':') {
*s = '/';
- Move(s+2, s+1, end - s, char);
+ Move(s+2, s+1, end - s
- 1
, char);
--end;
}
}