diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-05-21 18:30:33 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-05-21 18:30:33 -0400 |
commit | 20fc5811192463188b7ffd09897f1e959783d7d1 (patch) | |
tree | 119c5f4aaa6aebdacfcd2ec27eaa89d09ca31057 /src/random-seed/random-seed.c | |
parent | 0525107594f16f55efead867560ecd14d96d1f2f (diff) |
run: do not try to use reply after freeing it (#3318)
We'd call sd_bus_message_unref and then proceed to use
variables pointing into the reply buffer (fd and char*).
dup the fd and copy the string before destorying the reply.
This makes systemd-run run again for me.
https://bugzilla.redhat.com/show_bug.cgi?id=1337636
Diffstat (limited to 'src/random-seed/random-seed.c')
0 files changed, 0 insertions, 0 deletions