mirror of
https://github.com/urbit/shrub.git
synced 2024-11-30 22:15:47 +03:00
prevents 0-byte allocation in u3qe_lore()
This commit is contained in:
parent
435596b485
commit
413b53ea16
@ -35,8 +35,12 @@
|
||||
}
|
||||
|
||||
{
|
||||
c3_y* byts_y = alloca(meg_w);
|
||||
u3r_bytes(pos_w, meg_w, byts_y, lub);
|
||||
c3_y* byts_y = 0;
|
||||
|
||||
if ( 0 != meg_w ) {
|
||||
byts_y = alloca(meg_w);
|
||||
u3r_bytes(pos_w, meg_w, byts_y, lub);
|
||||
}
|
||||
|
||||
if ( _(end_y) ) {
|
||||
return u3kb_flop(u3nc(u3i_bytes(meg_w, byts_y), tez));
|
||||
|
Loading…
Reference in New Issue
Block a user