summaryrefslogtreecommitdiff
path: root/build/pack.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2009-06-23 00:49:17 +0200
committerPanu Matilainen <pmatilai@redhat.com>2009-07-14 14:33:15 +0300
commit52e4b9bcaca60499e8bb7f23eb590ce01c89c574 (patch)
tree8f061ee8ec7fa013f8fdabf7c0537ba252a516c8 /build/pack.c
parentd8071161f98ff703846281466cccf880e9dcb5c5 (diff)
downloadlibrpm-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 'build/pack.c')
0 files changed, 0 insertions, 0 deletions