diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-10-16T20·58+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-10-16T20·58+0200 |
commit | ba51100d64c18f627f97e606c4884ba2fb78dfa0 (patch) | |
tree | 117e40f16d10972e5ae76772fd67c7b337a7b246 /src/libstore/profiles.hh | |
parent | 9617a043541d77d79e4f20f9676aae63de72f45d (diff) |
Get rid of UDSRemoteStore::Connection
Since its superclass RemoteStore::Connection contains 'to' and 'from' fields that refer to the file descriptor maintained in the subclass, it was possible for the flush() call in Connection::~Connection() to write to a closed file descriptor (or worse, a file descriptor now referencing another file). So make sure that the file descriptor survives 'to' and 'from'.
Diffstat (limited to 'src/libstore/profiles.hh')
0 files changed, 0 insertions, 0 deletions