~/talk

Especially nasty bug in our network scanner

Talkat CppCon 2018 · 2018-09-23..09-28· [security]
links:none on file
slides:none on file

Avast’s network scanner fails to probe MQTT devices because a supposed binary MQTT CONNECT header is assembled from a C++ string literal that contains a UTF-8 multibyte char, making the first length byte two bytes long plus a trailing NUL so the on‑wire payload is shorter than the spec requires. The bug reproduces reliably; fixing requires building the packet from explicit byte escapes or separate binary buffers so the length and payload bytes match the MQTT spec.

AI-written summary · about

  1. 0:00Disclaimer
  2. 0:32Overview
  3. 1:14MQTT
  4. 2:22Binary search
  5. 3:19Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.