1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00
bors[bot] d89379eca6
Merge #19141
19141: shell/rtc: Fix out of bounds access; document error behavior r=maribu a=chrysn

### Contribution description



### Testing procedure

Should be trivial enough, especially as the difference is hard to spot interactively.

On native, run the default example (and wait for the traffic to settle).

Then, run

```
> rtc poweron
> rtc settime 2022-01-01 00:00:00
> rtc settime 2022-99-01 00:00:00
```

Both still work, but the latter doesn't access unassigned memory any more

### Issues/PRs references

This fixes an issue that was submitted anonymously.

Co-authored-by: chrysn <chrysn@fsfe.org>
2023-01-13 17:40:16 +00:00
..
2022-09-16 14:00:35 +02:00
2022-11-10 23:44:50 +01:00
2022-03-11 09:24:12 +01:00
2023-01-07 09:47:44 +01:00
2022-01-13 17:50:59 +01:00
2022-09-23 16:42:52 +02:00
2022-11-15 22:05:42 +01:00
2022-09-29 22:01:37 +02:00
2022-09-26 19:06:46 +02:00
2022-03-11 09:20:24 +01:00
2022-12-05 16:13:21 +01:00
2022-02-11 12:38:21 +01:00
2022-09-29 22:01:37 +02:00