summaryrefslogtreecommitdiff
path: root/src/hostname
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-03-23 21:44:47 +0100
committerTom Gundersen <teg@jklm.no>2014-03-23 21:54:16 +0100
commitf66eeb6bb636f8061bf45e6e8e24761e87510800 (patch)
tree9a58b940eb3b14c77abdc5456e03a2efe711918b /src/hostname
parenta212d0dadd1e5e7bc0a57b8dfe2feb9111db2678 (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