mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-28 11:40:11 +03:00
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:
parent
47b1b0a9bd
commit
64febc787c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user