• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisiónf84ffabbb304853a6570656200dfbd32e732386f (tree)
Tiempo2022-10-26 16:26:38
AutorAlan Modra <amodra@gmai...>
CommiterAlan Modra

Log Message

buffer overflow in _bfd_XX_print_ce_compressed_pdata

More fuzzed fun.

* peXXigen.c (_bfd_XX_print_ce_compressed_pdata): Use smaller of
virt_size and bfd section size as limit of function table.

Cambiar Resumen

Diferencia incremental

--- a/bfd/peXXigen.c
+++ b/bfd/peXXigen.c
@@ -2026,6 +2026,8 @@ _bfd_XX_print_ce_compressed_pdata (bfd * abfd, void * vfile)
20262026 }
20272027
20282028 start = 0;
2029+ if (stop > datasize)
2030+ stop = datasize;
20292031
20302032 for (i = start; i < stop; i += onaline)
20312033 {