Details
-
Sub-task
-
Resolution: Fixed
-
P4
-
17
-
b22
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8278304 | 11.0.15 | Paul Hohensee | P4 | Resolved | Fixed | b01 |
Description
/home/ysuenaga/git-forked/jdk/src/java.base/share/native/libverify/check_code.c: In function 'signature_to_fieldtype':
/home/ysuenaga/git-forked/jdk/src/java.base/share/native/libverify/check_code.c:3825:21: warning: 'buffer' may be used uninitialized [-Wmaybe-uninitialized]
3825 | check_and_push(context, buffer, VM_MALLOC_BLK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ysuenaga/git-forked/jdk/src/java.base/share/native/libverify/check_code.c:4144:13: note: by argument 2 of type 'const void *' to 'check_and_push' declared here
4144 | static void check_and_push(context_type *context, const void *ptr, int kind)
| ^~~~~~~~~~~~~~
/home/ysuenaga/git-forked/jdk/src/java.base/share/native/libverify/check_code.c:3825:21: warning: 'buffer' may be used uninitialized [-Wmaybe-uninitialized]
3825 | check_and_push(context, buffer, VM_MALLOC_BLK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ysuenaga/git-forked/jdk/src/java.base/share/native/libverify/check_code.c:4144:13: note: by argument 2 of type 'const void *' to 'check_and_push' declared here
4144 | static void check_and_push(context_type *context, const void *ptr, int kind)
| ^~~~~~~~~~~~~~
Attachments
Issue Links
- backported by
-
JDK-8278304 -Wmaybe-uninitialized happens in check_code.c
- Resolved
- relates to
-
JDK-8283059 Uninitialized warning in check_code.c with GCC 11.2
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/3a452af4
-
Commit openjdk/jdk/0f9852c6
-
Review openjdk/jdk11u-dev/682
-
Review openjdk/jdk/3787
(1 links to)