]> git.eshelyaron.com Git - emacs.git/commit
* Harden `comp-abi-hash' computation
authorAndrea Corallo <akrl@sdf.org>
Fri, 5 Mar 2021 09:45:09 +0000 (10:45 +0100)
committerAndrea Corallo <akrl@sdf.org>
Fri, 5 Mar 2021 10:02:21 +0000 (11:02 +0100)
commit260617ddc2e8e46a741e6843f97c7ffbc5222ed0
treee363d50e7d7d7fcfb6fd9e42736f430693242086
parentb9ccbac7685620d4624f55b9de361c610ede8aa4
* Harden `comp-abi-hash' computation

Account for subr arity in `comp-abi-hash' computation as that's part
of the ABI exposed to .eln files.

* src/comp.c (Fcomp__subr_signature): New support function.
(hash_native_abi): Make use of.
(syms_of_comp): Register 'Scomp__subr_signature'.
src/comp.c