diff options
author | Mark H Weaver <mhw@netris.org> | 2013-08-16 23:10:14 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2013-08-16 23:13:54 -0400 |
commit | c099201da1de71652b9791fb0a3a863b6d3c355d (patch) | |
tree | 528a272b65dc627445da3a3100acc551923ebcfe /doc/ref/api-io.texi | |
parent | 88cff2ef1bd0d11987f034d2e7dec10c89f5719d (diff) | |
download | guile-c099201da1de71652b9791fb0a3a863b6d3c355d.tar.gz |
In bytevector->uint-list et al, check that SIZE divides the bv length.
Fixes <http://bugs.gnu.org/15100>.
Reported by Göran Weinholt <goran@weinholt.se>.
* libguile/bytevectors.c (INTEGERS_TO_LIST): Enforce the R6RS
requirement that SIZE divides the bytevector length.
* test-suite/tests/bytevectors.test: Add test. Remove tests that
assumes that this "divides" check is not enforced.
Diffstat (limited to 'doc/ref/api-io.texi')
0 files changed, 0 insertions, 0 deletions