Dynamically allocate buffers in rpmGetPath()
authorPanu Matilainen <pmatilai@redhat.com>
Sat, 19 Apr 2008 10:42:04 +0000 (13:42 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Sat, 19 Apr 2008 10:42:04 +0000 (13:42 +0300)
commitcebd0812bc5b1a6d13a6e0937081f728750d016c
tree3d09e03200559542c4031c81f20e605137006787
parent601b4d0e6aff2630fa17269d063106d8d921d4b0
Dynamically allocate buffers in rpmGetPath()
- avoid unbounded copying to static sized buffer
- use rpmExpand() instead of expandMacros() which requires preallocated
  buffer when we've no idea of expanded size
rpmio/rpmfileutil.c