]> git.ipfire.org Git - thirdparty/valgrind.git/commit
pdb_ds_read: if the presented size is implausibly huge (> 512MB),
authorJulian Seward <jseward@acm.org>
Thu, 22 Jul 2010 22:36:43 +0000 (22:36 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 22 Jul 2010 22:36:43 +0000 (22:36 +0000)
commit4bfb6b06e6ed1ebfbbe8fa2fbd761833806389f5
treec3a77c15e71208b15e81b5aed9d5253f703cf6ca
parentaa2ee1278a62c4c39c1fc3502da530ed467ab040
pdb_ds_read: if the presented size is implausibly huge (> 512MB),
ignore it on the assumption that the .pdb is corrupt, rather than
running the system out of memory by trying to allocate a chunk of that
size.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11226
coregrind/m_debuginfo/readpdb.c