• Geoff Simmons's avatar
    Revert "Fix an off-by-one when copying the subject to the workspace" · 2c142833
    Geoff Simmons authored
    This reverts commit bf2b7a78.
    
    There are actually two off-by-one errors, one in WS_Assert_Allocated(),
    and another in the use of -1 to have WS_Assert_Allocated() compute
    the size of the string, including the null terminator.
    
    We don't need the subject with the null terminator in the ov_t
    structure (PRIV_TASK data), because we just need it to get backrefs
    from the indices in the ov vector returned from pcre.
    
    Also, there's a system in the VTC tests that may not be obvious.
    The b*.vtc tests are about regex matching, c*.vtc for backrefs.
    2c142833
Name
Last commit
Last update
..
a01.vtc Loading commit data...
a02.vtc Loading commit data...
a03.vtc Loading commit data...
b01.vtc Loading commit data...
b02.vtc Loading commit data...
b03.vtc Loading commit data...
b04.vtc Loading commit data...
b05.vtc Loading commit data...
b06.vtc Loading commit data...
c01.vtc Loading commit data...
c02.vtc Loading commit data...
c03.vtc Loading commit data...
c04.vtc Loading commit data...
c05.vtc Loading commit data...
c06.vtc Loading commit data...
c07.vtc Loading commit data...
c08.vtc Loading commit data...