diff options
author | Tom Gundersen <teg@jklm.no> | 2014-03-23 21:44:47 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-03-23 21:54:16 +0100 |
commit | f66eeb6bb636f8061bf45e6e8e24761e87510800 (patch) | |
tree | 9a58b940eb3b14c77abdc5456e03a2efe711918b /src/hostname | |
parent | a212d0dadd1e5e7bc0a57b8dfe2feb9111db2678 (diff) |
sd-rtnl: message - protect against SEGFAULT when reading messages
Make sure the returned data fits the datatype we requested. Otherwise return -EIO.
Also fix a broken test that this exposed.
Diffstat (limited to 'src/hostname')
0 files changed, 0 insertions, 0 deletions