pid1: process zero-length notification messages again
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 29 Sep 2016 14:06:02 +0000 (16:06 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Mon, 12 Feb 2024 15:37:44 +0000 (16:37 +0100)
commit19c10cc1c0dbec7dc1a5f867bba24827b16d2772
tree5cad5a9e2442b33335ad5d996aca2bdee4dfff0a
parentfb6d0e77677aaa662bdbb602c0c98071d2c45649
pid1: process zero-length notification messages again

This undoes 531ac2b234. I acked that patch without looking at the code
carefully enough. There are two problems:
- we want to process the fds anyway
- in principle empty notification messages are valid, and we should
  process them as usual, including logging using log_unit_debug().

CVE-2016-7795

Change-Id: I1dfb10c7a3ffeb7a5ed9d0ace4a94bee36c846b4
src/core/manager.c