mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-04 13:19:48 +03:00
vere: fixes crash (null deref) in comet booting
This commit is contained in:
parent
64ee26dac6
commit
1a725b1589
@ -186,12 +186,13 @@ _king_dawn(u3_noun feed, u3_noun pill, u3_noun path)
|
||||
//
|
||||
u3C.slog_f = _king_slog;
|
||||
|
||||
u3_noun ship = ( c3y == u3a_is_cell(u3h(feed)) )
|
||||
? u3h(u3t(feed))
|
||||
: u3h(feed);
|
||||
u3_noun vent = u3_dawn_vent(u3k(ship), u3k(feed));
|
||||
// XX link properly
|
||||
//
|
||||
//NOTE +slav is safe because _boothack_key already verified it
|
||||
u3_noun ship = u3dc("slav", 'p', u3i_string(u3_Host.ops_u.who_c));
|
||||
u3_noun vent = u3_dawn_vent(u3k(ship), u3k(feed));
|
||||
u3K.pir_u = u3_pier_boot(sag_w, ship, vent, pill, path, feed);
|
||||
u3K.pir_u = u3_pier_boot(sag_w, u3k(ship), vent, pill, path, feed);
|
||||
|
||||
// disable ivory slog printfs
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user