Branch: Tag:

2011-03-03

2011-03-03 21:37:09 by Martin Stjernholm <mast@lysator.liu.se>

Fixed special cases when dividing the empty array with a number.

Looks like this could clobber memory a couple of elements past the end of
the empty array in the float case.

8043:   test_equal("foobargazonk"/5,({"fooba","rgazo"}))   test_equal("foobargazonk"/-6,({"foobar","gazonk"}))   test_equal("foobargazonk"/-7,({"rgazonk"})) + test_eq(({})/100.0, ({})); + test_eq(({})/100, ({}));      test_equal("foobargazonk"/5.0,({"fooba","rgazo","nk"}))   test_equal("foobargazonk"/-5.0,({"fo","obarg","azonk"}))