summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorAndreas Henriksson <andreas@fatal.se>2014-06-13 18:48:21 +0200
committerTom Gundersen <teg@jklm.no>2014-06-13 19:00:42 +0200
commitf8a0bb5285024b6ce372c3157e761e6543ebdcd2 (patch)
treeed475bc83ddae525dde1e89337db7abf62795c60 /src/shared
parent3e09eb5c83e56bc0184bd9d9c44f76047464f77c (diff)
udev: fix invalid free() in enable_name_policy()
static bool enable_name_policy(...) in ./src/udev/net/link-config.c calls proc_cmdline(...) to get "line" initialized, but proc_cmdline(...) does not guarantee that atleast when both conditions (detect_container(NULL) > 0) and read_full_file(...) returned < 0.
Diffstat (limited to 'src/shared')
0 files changed, 0 insertions, 0 deletions