Package: bc Version: 1.06.95 Tags: patch bc depends on uninitialized mem:
echo "e(1)" | MALLOC_PERTURB_=1 bc -l echo "e(1)" | MALLOC_PERTURB_=0 bc -l 2.71828182845904523536 This fixes it: --- storage.c.orig 2010-12-21 19:43:14.663540110 +0000 +++ storage.c 2010-12-21 19:42:01.392540111 +0000 @@ -99,6 +99,7 @@ { f = &functions[indx]; f->f_defined = FALSE; + f->f_void = FALSE; f->f_body = (char *) bc_malloc (BC_START_SIZE); f->f_body_size = BC_START_SIZE; f->f_code_size = 0; -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org