godot/modules/webrtc
Rémi Verschelde 1769f80547 WebRTC: Fix potential nullptr dereference in error message
This was evidently a typo. Didn't get a crash but GCC 12 raised a
`-Warray-bounds` warning:

```
In file included from ./core/io/stream_peer.h:34,
                 from ./core/io/packet_peer.h:34,
                 from ./core/multiplayer/multiplayer_peer.h:34,
                 from modules/webrtc/webrtc_multiplayer_peer.h:34,
                 from modules/webrtc/webrtc_multiplayer_peer.cpp:31:
In member function 'T* Ref<T>::operator->() [with T = WebRTCMultiplayerPeer::ConnectedPeer]',
    inlined from 'virtual Error WebRTCMultiplayerPeer::put_packet(const uint8_t*, int)' at modules/webrtc/webrtc_multiplayer_peer.cpp:376:4:
./core/object/ref_counted.h:101:24: error: array subscript 0 is outside array bounds of 'Ref<WebRTCMultiplayerPeer::ConnectedPeer> [0]' [-Werror=array-bounds]
  101 |                 return reference;
      |                        ^~~~~~~~~
```
2022-03-04 16:02:40 +01:00
..
doc_classes Add an XML schema for documentation 2022-02-15 00:03:31 +01:00
config.py [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00
library_godot_webrtc.js Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_types.cpp Rename or refactor macros to avoid leading underscores 2022-01-20 20:29:15 +01:00
register_types.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub [Net] Expose WebRTC classes to extensions. 2021-09-24 21:23:43 +02:00
webrtc_data_channel_extension.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
webrtc_data_channel_extension.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
webrtc_data_channel_js.cpp Style: Cleanup single-line blocks, semicolons, dead code 2022-02-16 14:06:29 +01:00
webrtc_data_channel_js.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
webrtc_data_channel.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
webrtc_data_channel.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
webrtc_multiplayer_peer.cpp WebRTC: Fix potential nullptr dereference in error message 2022-03-04 16:02:40 +01:00
webrtc_multiplayer_peer.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
webrtc_peer_connection_extension.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
webrtc_peer_connection_extension.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
webrtc_peer_connection_js.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
webrtc_peer_connection_js.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
webrtc_peer_connection.cpp Improve some signal bindings to use specific Object subtypes 2022-01-28 15:35:40 +01:00
webrtc_peer_connection.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00