summaryrefslogtreecommitdiffstats
path: root/tests/fsm/fsm_test.err
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-09-20 17:21:05 +0200
committerHarald Welte <laforge@gnumonks.org>2018-09-26 07:25:53 +0000
commit6afb3f50317e694e7482bbd774243dc130e3f936 (patch)
tree65574a00ea7a9cd3a0b2434ec0cd37cb7734b96e /tests/fsm/fsm_test.err
parenteda6fe42a5ad33d27e305c1a9b1304ac1f1cc247 (diff)
ensure unix socket paths are NUL-terminated for bind/connect
The unix(7) man page recommends that sun_path is NUL-terminated when struct sockaddr_un is passed to a bind() or connect() call. Non-NUL-terminated paths only need to be dealt with at the receiving end of a UNIX domain socket. Commit 896ff6d erroneously assumed otherwise. This commit almost reverts 896ff6d: It only leaves the added osmo_strlcpy() overflow check in place. Change-Id: I6c4ac6b0a0eef4842beae4107f6f09f6cd29172a Fixes: 896ff6db161465d506bb9bb5bee2cdeef220dd2e Related: OS#2673
Diffstat (limited to 'tests/fsm/fsm_test.err')
0 files changed, 0 insertions, 0 deletions