diff options
author | 2017-12-02 18:21:03 +0100 | |
---|---|---|
committer | 2017-12-04 07:13:35 -0500 | |
commit | 4f754382782c7bbaaf4bb644ea58df56d9674216 (patch) | |
tree | 74fc9993275388aa006358c77c593c9a6ebf81c6 /src | |
parent | util.c: cleanup warnings (diff) | |
download | eudev-4f754382782c7bbaaf4bb644ea58df56d9674216.tar.gz eudev-4f754382782c7bbaaf4bb644ea58df56d9674216.tar.bz2 eudev-4f754382782c7bbaaf4bb644ea58df56d9674216.zip |
udev-event.c: do not assign s to address to pointer
Solve a bug that could result in really nasty behavior.
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/udev/udev-event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-event.c b/src/udev/udev-event.c index 19079bf02..4120c04f2 100644 --- a/src/udev/udev-event.c +++ b/src/udev/udev-event.c @@ -201,7 +201,7 @@ subst: _s = s; _l = l; /* temporarily use sbuf */ - s = &sbuf; + s = sbuf; l = UTIL_PATH_SIZE; } |