diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-05-21 17:03:17 +0300 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-05-21 17:03:17 +0300 |
| commit | 22c61e8e2e16ebe8e9576fe46487e3614982e8ac (patch) | |
| tree | 73f23e95ffc8e53058f7eec9a36e82cbfaa8d8f9 /accel-pppd/cli/cli.h | |
| parent | 1b67ba0785a847eee6adb69b7e68995c33803805 (diff) | |
| download | accel-ppp-22c61e8e2e16ebe8e9576fe46487e3614982e8ac.tar.gz accel-ppp-22c61e8e2e16ebe8e9576fe46487e3614982e8ac.zip | |
fix: dict.c: split() could return 0, making dict_load read ptr[-1]
If a RADIUS dictionary contains a line consisting of exactly one
word with no trailing spaces (for example, standard keywords like
"END-VENDOR\n" or "END-TLV\n" ), this bug getting triggered.
Triggering crash is compiler dependent, it might not happen now,
but a bit different compiler, flags, and it might crash on load.
Reported-by: Khedor <khedor@gmail.com>
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Diffstat (limited to 'accel-pppd/cli/cli.h')
0 files changed, 0 insertions, 0 deletions
