> Fixed three potential null pointer dereferences:
> * Two in log messages.
> * One during cleanup after a failed realloc, which also leaked the original 
> allocation.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Alexander Zvegintsev has updated the pull request incrementally with four 
additional commits since the last revision:

 - combine CHECK_VARIANT_TYPE with g_variant_get
 - CHECK_VARIANT_TYPE check before g_variant_get calls
   missing g_variant_unref added
 - remove unused err from g_variant_get
 - fix unref for g_variant_iter_loop

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/33059/files
  - new: https://git.openjdk.org/jdk/pull/33059/files/f03402ff..646f8ef6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=33059&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=33059&range=01-02

  Stats: 112 lines in 4 files changed: 77 ins; 6 del; 29 mod
  Patch: https://git.openjdk.org/jdk/pull/33059.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33059/head:pull/33059

PR: https://git.openjdk.org/jdk/pull/33059

Reply via email to