> > > As to what that range should be... hard to analyse. > > > > 5 Hz to 192 kHz. > > Numbers picked out of the air? Or just the lowest and highest frequencies > you happen to have heard of?
This is a ballpark range oflfrequencies that seem practicaly applicable to processing an audio signal. Do you have a better estimate? > > > Is there any way to guard globally against integer overflows in a large C > > > code base? > > > > Using https://man.openbsd.org/strtonum everywhere would be a start. > > That's not even a boiled carrot to lock the stable door with. > I was thinking of something more like valgrind. strtonum() is an interface that check the range of a user supplied number; it's a start when you want to have some control of the numbers involved. valgrind has nothing to do with that. But thanks for the carrot metaphore :-) Jan _______________________________________________ SoX-devel mailing list SoX-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-devel