-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] crashes discovered by automated fuzzing #579
Comments
Well this one is weird...! from ulab import numpy as np
np.array([range(0),range(2000)])
t(n(i)) results in the exception |
I think issues, especially, if they result in hard faults, should be fixed, no matter how they are found. So, yes, please! I have, however, two comments.
Having said all these, I'm flexible, and if you don't agree with my comments above, I'm willing to change my mind. You (meaning
I've opened an issue for this one, too: #581 |
I'm not quite sure I understand what the problem is. What is But >>> import numpy as np
>>> np.array([range(0), range(2)])
<stdin>:1: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
array([range(0, 0), range(0, 2)], dtype=object) so, perhaps, the |
Hi!
As I did a long time ago for circuitpython, I'm investigating crashes in ulab that can be found by automated techniques such as the aflplusplus fuzzer similar to what I wrote about in my blog: https://emergent.unpythonic.net/01522108310
Mostly this is good for finding parameter validation problems.
Is there interest in me filing bugs for these, either individually or en masse? Most of them probably lead to HardFault type problems when run on hardware, but not necessarily.
Here's a typical one minimized by me:
Here's one that is not minimized: (the crash occurs on the first sort_complex call with what I think is a zero-length argument)
The text was updated successfully, but these errors were encountered: