• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

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

GNU Binutils with patches for OS216


コミットメタ情報

リビジョン2091da296fd563f62d856dcb5a049a63484ed65e (tree)
日時2016-06-07 20:36:05
作者Bernhard Heckel <bernhard.heckel@inte...>
コミッターBernhard Heckel

ログメッセージ

Frame static link: Handle null pointer.

2016-06-07 Bernhard Heckel <bernhard.heckel@intel.com>

gdb/Changelog:
* findvar.c (follow_static_link): Check for valid pointer.

変更サマリ

差分

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
1+2016-06-07 Bernhard Heckel <bernhard.heckel@intel.com>
2+
3+ * findvar.c (follow_static_link): Check for valid pointer.
4+
15 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
26
37 * NEWS: Mention the new fields in =record-started.
--- a/gdb/findvar.c
+++ b/gdb/findvar.c
@@ -435,6 +435,7 @@ follow_static_link (struct frame_info *frame,
435435 /* If we don't know how to compute FRAME's base address, don't give up:
436436 maybe the frame we are looking for is upper in the stace frame. */
437437 if (framefunc != NULL
438+ && SYMBOL_BLOCK_OPS (framefunc) != NULL
438439 && SYMBOL_BLOCK_OPS (framefunc)->get_frame_base != NULL
439440 && (SYMBOL_BLOCK_OPS (framefunc)->get_frame_base (framefunc, frame)
440441 == upper_frame_base))