зеркало из https://github.com/mozilla/gecko-dev.git
b261ffc229
In media/mtransport/third_party/nICEr/src/stun/addrs.c: stun_getifaddrs() is used on all non-WIN32 targets. It extracts from the kernel an array describing network interfaces (I think). These are written into its out-parameter nr_local_addr addrs[] and the number of entries is written to int *count. There is a path through the main loop in stun_getifaddrs() which can cause a nr_local_addr record to be returned with its .interface.type field being uninitialized, but which nevertheless is later used. It also looks as if the .interface.estimated_speed field is not initialised. This commit zero-initialises the entire output array before writing anything into it, to avoid such problems, on all targets. Differential Revision: https://phabricator.services.mozilla.com/D58822 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
audioipc | ||
ffvpx | ||
gmp-clearkey/0.1 | ||
kiss_fft | ||
libaom | ||
libcubeb | ||
libdav1d | ||
libjpeg | ||
libmkv | ||
libnestegg | ||
libogg | ||
libopus | ||
libpng | ||
libsoundtouch | ||
libspeex_resampler | ||
libtheora | ||
libtremor | ||
libvorbis | ||
libvpx | ||
libwebp | ||
libyuv | ||
mp4parse-rust | ||
mtransport | ||
openmax_dl | ||
openmax_il/il112 | ||
psshparser | ||
webrtc | ||
moz.build | ||
update-libjpeg.sh |