summaryrefslogtreecommitdiff
path: root/config/flashprog/patches
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-30 00:35:56 +0100
committerLeah Rowe <leah@libreboot.org>2026-03-30 01:53:17 +0100
commit9d4302deb237d0b65696ded4924206626e4dd997 (patch)
treedf9d2faa82272bec6abb7c10424660625db90126 /config/flashprog/patches
parent7fb0b2f69293f0fb0e83e9b125fbd658503147f0 (diff)
libreboot-utils: optimised string functions
operate per word, not per byte this is also done on sdup, which uses a slightly inefficient method: the new string allocation is that of the maximum size, rather than what we need. for example, if you wanted a 20 character string (21 including null), you would still allocate 4096 bytes if that was the maximum length. it's a bit naughty, and i have half a mind to keep sdup on the old implementation, but i'll leave it be for now. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/flashprog/patches')
0 files changed, 0 insertions, 0 deletions