mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-11-23 23:10:57 +07:00
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>
This commit is contained in:
parent
e521ce6ba5
commit
4f75438278
@ -201,7 +201,7 @@ subst:
|
||||
_s = s;
|
||||
_l = l;
|
||||
/* temporarily use sbuf */
|
||||
s = &sbuf;
|
||||
s = sbuf;
|
||||
l = UTIL_PATH_SIZE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user