metasploit-framework/lib/msf
sinn3r 807142e988 'Size' may not exist in certain PDF structure.
This is a fix for issues related to:
'undefined method `[]' for nil:NilClass'

It is possible that a PDF may not have the 'Size' xref, and people
are running into the 'undefined method'[]' for NilClass' exception.
Because the pdf parser always assumes there is a Size field,
so it uses a match() function to find the value for Size, which
can be nil.

See the following bug report for example:
https://dev.metasploit.com/redmine/issues/7014
2012-06-26 16:09:13 -05:00
..
base Merge branch 'master' into feature/vuln-info 2012-06-16 15:43:52 -05:00
core 'Size' may not exist in certain PDF structure. 2012-06-26 16:09:13 -05:00
env Space at EOF cleanup 2012-05-24 16:28:20 -06:00
scripts Change Post Mixin for Windows platform in its own separate class and minor fixes on modules and scripts 2011-06-21 00:38:04 +00:00
ui Unbreak loadpath 2012-06-25 16:37:16 -06:00
util fix bsd ans solaris platform when using encoder too 2012-06-25 03:12:33 +01:00
LICENSE Updated to reflect the new license of Rex 2006-09-01 15:50:10 +00:00
base.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
base.rb.ts.rb Cutting over rails3 to master. 2012-04-15 23:35:38 -05:00
core.rb Cutting over rails3 to master. 2012-04-15 23:35:38 -05:00
core.rb.ts.rb massive removal of spaces at EOL and some bad tabs 2011-11-20 12:32:06 +11:00
events.rb base should not depend on ui 2010-01-15 01:24:45 +00:00
sanity.rb Cutting over rails3 to master. 2012-04-15 23:35:38 -05:00
ui.rb Reverting the autoload changes until we can upgrade to a new ActiveSupport library or find a workaround 2011-05-12 20:03:55 +00:00
util.rb Cutting over rails3 to master. 2012-04-15 23:35:38 -05:00
windows_error.rb fix bug in default case 2010-10-08 19:49:57 +00:00