diff options
author | Guillem Jover <guillem@debian.org> | 2014-11-29 15:56:15 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2014-12-27 23:44:22 +0100 |
commit | fa1cfce24dc7c0659cb16b4a6ff09f660e318731 (patch) | |
tree | 379decba213e5c2e6879652af1b3dd5ad38e216c /dselect/po/el.po | |
parent | f58eee9edbfc876d92af50323e1492b676a705d4 (diff) | |
download | dpkg-fa1cfce24dc7c0659cb16b4a6ff09f660e318731.tar.gz |
libdpkg, dpkg: Fix out-of-bounds read accesses
Limit the buffer accesses to the size of the buffer being accessed. This
affects reads done when parsing field and trigger names, or checking the
package ownership of conffiles and directories.
Use a new length member for struct fieldinfo and nickname to avoid
recomputing the same known length over and over again, but use strlen()
instead for arbitrary fields, conffiles and directories to avoid
increaseing the memory footprint too much.
Reported-by: Joshua Rogers <megamansec@gmail.com>
Diffstat (limited to 'dselect/po/el.po')
0 files changed, 0 insertions, 0 deletions