summaryrefslogtreecommitdiff
path: root/debian/apt.maintscript
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-10-07 15:55:44 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2024-10-07 16:02:06 +0200
commitd61d86c73104d1aa84fd6ca506c2230e67727b17 (patch)
tree50ff4649c75dbccf43ff63a59818d97c3a8b3e0d /debian/apt.maintscript
parent98ad351133592fe8ed8ff0f6aa311005c8c3dad8 (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/apt.maintscript')
0 files changed, 0 insertions, 0 deletions