You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a07efcb
Browse filesBrowse the repository at this point in the historyBrowse files
Fix buffer size calculation and bounds checks in ppdEmitString
Update the Pass-1 buffer size estimation in ppdEmitString() to account
for the maximum formatted length of floating-point custom parameters
emitted by _ppdStrFormatd() ("%.12f").
Additionally, replace the unbounded memcpy() of option code strings in
Pass-2 with strlcpy() and guard trailing newline writes against buffer
end bounds so bufptr cannot advance past bufend.
Signed-off-by: Ranjan Kumar <kumarranja@chromium.org>
0 commit comments