Commit 6b8bcb6
extmod/modos: Raise an error at a negative argument of os.urandom().
Fixes issue micropython#18825.
Signed-off-by: robert-hh <robert@hammelrath.com>1 parent 2e62b56 commit 6b8bcb6
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
| |||
0 commit comments