shrub/pkg
Jōshin 2526c4b59d
vere: fix u3v_lily bounds checking
Before this, u3v_lily would erroneously accept atoms bigger than 64 bits
that, when truncated to 64 bits, were 31-bit numbers.

Decided to drop _cv_mole altogether. Another option would be to write a
u3r_chub_fit, write _cv_mole in terms of that, and check width in
u3v_lily as it currently does.

I tried to add a test case, but it seems that tests don't have access to
an ivory pill for +scot / +slaw. This would be the test case, more or
less:

    {
      c3_l lit_l;
      c3_w big_w[] = {0, 0, 1};
      u3_atom big = u3i_words(3, big_w);
      u3_noun cod = u3dc("scot", c3__ux, big);

      if ( c3y == u3v_lily(c3__ux, cod, &lit_l) ) {
        printf("fail\n");
      }
    }

(The refcounting was also messed up, possibly from my refactor to use
+slaw instead of +slay, but this seems to have been unrelated.)
2021-12-26 06:44:54 +00:00
..
arvo Revert "behn: comment spacing" 2021-12-25 20:26:45 +00:00
base-dev Merge pull request #5439 from ynx0/dev-fixes 2021-12-07 19:07:34 -08:00
bitcoin various: bump pkg kelvins ahead of coming update 2021-11-10 14:51:26 +01:00
btc-wallet Merge pull request #5355 from finned-palmer/bugfix/cleanup-provider-modal-text 2021-10-25 10:47:12 -05:00
docker-image docker: update documentation 2021-04-25 12:02:56 -04:00
ent libent: use BCryptGenRandom on Windows 2021-03-27 20:15:56 +00:00
garden Merge pull request #5461 from urbit/lf/revive-notify 2021-12-02 12:08:26 -05:00
garden-dev garden: move /+ hark-store into -dev 2021-11-30 11:25:30 -05:00
grid grid: update docket 2021-11-12 22:34:38 -05:00
herb Revert "Revert "Merge naive/aggregator into poprox/naive-tests"" 2021-08-19 16:09:28 -07:00
hs Merge branch 'master' into next/vere 2021-12-17 23:38:22 -05:00
interface Merge pull request #5454 from urbit/m/backport-nu-webterm 2021-12-14 19:23:23 +01:00
landscape landscape: bump version, glob 2021-12-08 16:46:59 -05:00
npm Merge pull request #5454 from urbit/m/backport-nu-webterm 2021-12-14 19:23:23 +01:00
urbit vere: fix u3v_lily bounds checking 2021-12-26 06:44:54 +00:00
urcrypt Merge branches 'jb/rnv-restage' and 'jb/rnv-fixes', remote-tracking branches 'frodwith/keccak' and 'botter-nidnul/release/next-vere' into jb/rnv-merge 2021-09-24 18:05:37 -04:00
webterm webterm: v1.0.0 2021-12-14 17:17:32 +01:00
symbolic-merge.sh pkg/symbolic-merge.sh from @Fang- 2021-08-30 20:19:16 +03:00