Bug 86438 - dhcp_lease_save() writes routes incorrectly
Summary: dhcp_lease_save() writes routes incorrectly
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Tom Gundersen
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-18 14:09 UTC by Dan Winship
Modified: 2015-02-07 17:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
fix (1.29 KB, text/plain)
2014-11-18 14:09 UTC, Dan Winship
Details

Description Dan Winship 2014-11-18 14:09:11 UTC
Created attachment 109673 [details]
fix

libsystemd-network: fix writing of routes in dhcp lease file

inet_ntoa() uses a static buffer, so you can't call it twice in the
same fprintf() call.
Comment 1 Tom Gundersen 2014-12-09 08:29:12 UTC
Applied. Thanks!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.