aboutsummaryrefslogtreecommitdiffstats
path: root/com32/sysdump/dmi.c
diff options
context:
space:
mode:
authorJonathan Boeing <jonathan.n.boeing@gmail.com>2015-02-09 20:01:36 -0700
committerGene Cumm <gene.cumm@gmail.com>2015-05-03 10:49:51 -0400
commit1361dd215ff3d303c8ae9e7598ef3ef91bd21d0a (patch)
tree813dc4c74ffbb0286f3d23fea912d74a7f7722f2 /com32/sysdump/dmi.c
parentb15c5f186d2b1f55f4eacbeb35b2da99c5366dd7 (diff)
downloadsyslinux-1361dd215ff3d303c8ae9e7598ef3ef91bd21d0a.tar.gz
syslinux-1361dd215ff3d303c8ae9e7598ef3ef91bd21d0a.tar.xz
syslinux-1361dd215ff3d303c8ae9e7598ef3ef91bd21d0a.zip
gpllib: fix sizeof(char *) misuse
The code was passing sizeof(char *) - not the length of the buffer - to strlcpy and snprintf. Change the function to take the length of the buffer as a parameter. Fixes the warning: argument to 'sizeof' in 'snprintf' call is the same expression as the destination; did you mean to provide an explicit length? Signed-off-by: Jonathan Boeing <jonathan.n.boeing@gmail.com>
Diffstat (limited to 'com32/sysdump/dmi.c')
0 files changed, 0 insertions, 0 deletions