off-by-one error killed !
This commit is contained in:
parent
ba01f62983
commit
233c1d5b9e
@ -139,7 +139,7 @@ fprintf(stderr, "%s : %p --> %p\n", __func__, what, where);
|
|||||||
fprintf(stderr, "XYZ %f %f %f\n", what->p.x, what->p.y, what->p.z);
|
fprintf(stderr, "XYZ %f %f %f\n", what->p.x, what->p.y, what->p.z);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (where->fidx > where->size) {
|
if (where->fidx >= where->size) {
|
||||||
/* this is a very bad fatal error */
|
/* this is a very bad fatal error */
|
||||||
fprintf(stderr, "%s : overflow in BBList at %p\n", __func__, where);
|
fprintf(stderr, "%s : overflow in BBList at %p\n", __func__, where);
|
||||||
#if MUST_ABORT
|
#if MUST_ABORT
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
/* --------------------------------------------------------------------- */
|
/* --------------------------------------------------------------------- */
|
||||||
|
|
||||||
#define LIBBB_VERSION 53
|
#define LIBBB_VERSION 54
|
||||||
|
|
||||||
#define SZ_BUBULLE_TEXT 51 /* arbitrary value */
|
#define SZ_BUBULLE_TEXT 51 /* arbitrary value */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user