File: zero-not-guaranteed

package info (click to toggle)
cbmc 6.6.0-4
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 153,852 kB
  • sloc: cpp: 386,459; ansic: 114,466; java: 28,405; python: 6,003; yacc: 4,552; makefile: 4,041; lex: 2,487; xml: 2,388; sh: 2,050; perl: 557; pascal: 184; javascript: 163; ada: 36
file content (32 lines) | stat: -rw-r--r-- 1,190 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Description: malloc need not guarantee zero init
 .
 cbmc (6.6.0-1) unstable; urgency=low
 .
   * New upstream release
Author: Michael Tautschnig <mt@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2025-04-29

--- cbmc-6.6.0.orig/regression/memory-analyzer/plain_old_datatypes/test.desc
+++ cbmc-6.6.0/regression/memory-analyzer/plain_old_datatypes/test.desc
@@ -11,7 +11,7 @@ f = &e;
 f_1 = &e;
 tmp = \"test2\";
 d = \{ .a=4, .b=tmp, .c=-32 \};
-tmp\$0 = \{ .a=0, .b=\(\(char \*\)0\), .c=0 \};
+tmp\$0 = \{ .a=-?\d+, .b=\(\(char \*\)\d+\), .c=-?\d+ \};
 g = &tmp\$0;
 tmp\$1 = \"test\";
 h = tmp\$1;