mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Merge remote-tracking branch 'ul/dev' into mntm-dev
This commit is contained in:
@@ -110,7 +110,9 @@
|
||||
- Archive:
|
||||
- Fix favorite's parent folders thinking they are favorited too (by @Willy-JL)
|
||||
- Fix rename extension show/hide behavior (by @Willy-JL)
|
||||
- Infrared: Correct Samsung.ir CH+ command (by @skyhawkillusions)
|
||||
- Infrared:
|
||||
- Correct Samsung.ir CH+ command (by @skyhawkillusions)
|
||||
- OFW: Check for negative timings (by @gsurkov)
|
||||
- FBT:
|
||||
- Consistent version/branch info, fix gitorigin (by @Willy-JL)
|
||||
- OFW: Fixed starting apps with spaces in path (by @hedger)
|
||||
|
||||
@@ -400,7 +400,11 @@ bool flipper_format_stream_read_value_line(
|
||||
}; break;
|
||||
case FlipperStreamValueUint32: {
|
||||
uint32_t* data = _data;
|
||||
scan_values = sscanf(furi_string_get_cstr(value), "%" PRIu32, &data[i]);
|
||||
// Minus sign is allowed in scanf() for unsigned numbers, resulting in unintentionally huge values with no error reported
|
||||
if(!furi_string_start_with(value, "-")) {
|
||||
scan_values =
|
||||
sscanf(furi_string_get_cstr(value), "%" PRIu32, &data[i]);
|
||||
}
|
||||
}; break;
|
||||
case FlipperStreamValueHexUint64: {
|
||||
uint64_t* data = _data;
|
||||
|
||||
Reference in New Issue
Block a user