Avoid undefined behaviour for -DPERL_MEM_LOG by not using a direct
authorNicholas Clark <nick@ccl4.org>
Sat, 14 Oct 2006 22:40:00 +0000 (22:40 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 14 Oct 2006 22:40:00 +0000 (22:40 +0000)
commit2eb97020013532fece8d6206100165c4e92a4350
tree88f5d3530ffda1abbd80f3b2b1400e63dcbc49c4
parent12e82c57598512160891396c5760944e2e0d31c5
Avoid undefined behaviour for -DPERL_MEM_LOG by not using a direct
dereference of member of the structure being reallocated as part of
the size calculation. (There may be other similar bugs).

p4raw-id: //depot/perl@29016
regcomp.c