Files
ipxe/src/core
Michael Brown ed196a3ed2 [settings] Ensure fetch_string_setting() returns a NUL-terminated string
This fixes a regression introduced in commit 612f4e7:

  [settings] Avoid returning uninitialised data on error in fetch_xxx_setting()

in which the memset() was moved from fetch_string_setting() to
fetch_setting(), in order that it would be useful for non-string
setting types.  However, this neglects to take into account the fact
that fetch_string_setting() shrinks its buffer by one byte (to allow
for the NUL) before calling fetch_setting().

Restore the memset() in fetch_string_setting(), so that the
terminating NUL is guaranteed to actually be a NUL.
2008-11-07 03:48:29 +00:00
..
2007-06-03 01:50:03 +00:00
2007-06-03 01:51:10 +00:00
2007-07-14 15:42:26 +01:00
2008-10-12 23:36:53 +01:00
2006-12-20 03:49:36 +00:00
2008-10-12 23:36:53 +01:00
2007-01-19 01:13:12 +00:00
2005-03-08 18:53:11 +00:00
2008-08-11 03:43:12 +01:00
2007-05-18 15:26:44 +00:00
2007-07-24 17:11:31 +01:00
2007-07-14 15:42:26 +01:00
2008-10-12 20:22:02 +01:00
2008-01-22 18:48:47 +00:00