diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2016-08-17 15:32:49 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-08-30 16:59:47 +1000 |
commit | 6024e93adf62fab2fb725e9e98fd853b57a35bc4 (patch) | |
tree | cc4a95173ddbc1b655a9535acb3e5a75d89adf57 /core/init.c | |
parent | ad461cc7a45ac2f8ed6f2c6373545d402e936502 (diff) | |
download | skiboot-6024e93adf62fab2fb725e9e98fd853b57a35bc4.zip skiboot-6024e93adf62fab2fb725e9e98fd853b57a35bc4.tar.gz skiboot-6024e93adf62fab2fb725e9e98fd853b57a35bc4.tar.bz2 |
nvram: ibm,skiboot NUL terminator check
NVRAM configuration strings are required to be NUL terminated and unused
data bytes in the partition should be set to NUL. Badly behaved system
software may not do this so same sanity checking is required. Ensuring
that the final data byte in a partition is a NUL should be sufficient.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/init.c')
0 files changed, 0 insertions, 0 deletions