Revert "u3: fix lore jet to allow non-trailing null bytes"

This reverts commit 0a78728479.

See discussion in #2195, #1755.
This commit is contained in:
Jared Tobin 2020-01-29 14:40:18 +04:00
parent 47b1b0a9bd
commit 64febc787c
No known key found for this signature in database
GPG Key ID: 0E4647D58F8A69E4

View File

@ -13,23 +13,27 @@
while ( 1 ) {
c3_w meg_w = 0;
c3_o end_y;
c3_y end_y;
c3_y byt_y;
while ( 1 ) {
if ( (pos_w + meg_w) >= len_w ) {
if ( pos_w >= len_w ) {
byt_y = 0;
end_y = c3y;
break;
}
byt_y = u3r_byte(pos_w + meg_w, lub);
if ( 10 == byt_y ) {
end_y = c3n;
if ( (10 == byt_y) || (0 == byt_y) ) {
end_y = __(byt_y == 0);
break;
} else meg_w++;
}
if ((byt_y == 0) && ((pos_w + meg_w + 1) < len_w)) {
return u3m_bail(c3__exit);
}
{
c3_y* byts_y = 0;