Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Commit

Permalink
[FL-3582] SubGhz: heap overflow text error (#3021)
Browse files Browse the repository at this point in the history
  • Loading branch information
Skorpionm authored Aug 29, 2023
1 parent c6be6f4 commit aa1c1fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion applications/main/subghz/scenes/subghz_scene_receiver.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void subghz_scene_receiver_on_enter(void* context) {
subghz_rx_key_state_set(subghz, SubGhzRxKeyStateAddKey);
}
furi_string_free(str_buff);
subghz_scene_receiver_update_statusbar(subghz);

subghz_view_receiver_set_callback(
subghz->subghz_receiver, subghz_scene_receiver_callback, subghz);
subghz_txrx_set_rx_calback(subghz->txrx, subghz_scene_add_to_history_callback, subghz);
Expand All @@ -136,6 +136,8 @@ void subghz_scene_receiver_on_enter(void* context) {
furi_check(
subghz_txrx_load_decoder_by_name_protocol(subghz->txrx, SUBGHZ_PROTOCOL_BIN_RAW_NAME));

subghz_scene_receiver_update_statusbar(subghz);

view_dispatcher_switch_to_view(subghz->view_dispatcher, SubGhzViewIdReceiver);
}

Expand Down

0 comments on commit aa1c1fd

Please sign in to comment.