diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2024-10-07 15:55:44 +0200 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2024-10-07 16:02:06 +0200 |
| commit | d61d86c73104d1aa84fd6ca506c2230e67727b17 (patch) | |
| tree | 50ff4649c75dbccf43ff63a59818d97c3a8b3e0d /debian/libapt-pkg-doc.doc-base.method | |
| parent | 98ad351133592fe8ed8ff0f6aa311005c8c3dad8 (diff) | |
ftparchive: Mystrdup: Add safety check and bump buffer size
Add a safety check to ensure that the block were are allocating
actually fits the string we want to write. If it doesn't, abort
the program.
While we are here, bump the buffer size from 40 KiB to 4 MiB,
because why bother with smaller buffers.
Diffstat (limited to 'debian/libapt-pkg-doc.doc-base.method')
0 files changed, 0 insertions, 0 deletions
