diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2009-06-23 00:49:17 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-07-14 14:33:15 +0300 |
commit | 52e4b9bcaca60499e8bb7f23eb590ce01c89c574 (patch) | |
tree | 8f061ee8ec7fa013f8fdabf7c0537ba252a516c8 /lib/fprint.c | |
parent | d8071161f98ff703846281466cccf880e9dcb5c5 (diff) | |
download | librpm-tizen-52e4b9bcaca60499e8bb7f23eb590ce01c89c574.tar.gz librpm-tizen-52e4b9bcaca60499e8bb7f23eb590ce01c89c574.tar.bz2 librpm-tizen-52e4b9bcaca60499e8bb7f23eb590ce01c89c574.zip |
Fix memory allocation for token array
This fixes a memory corruption due to write access out of
bounds of token array, whose size was computed incorrectly.
It was assumed that only '%' characters separate tokens,
which could lead to crashes on useless uses of '[' tokens,
such as "rpm -qa --qf '[]lalala'".
Diffstat (limited to 'lib/fprint.c')
0 files changed, 0 insertions, 0 deletions