(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/asn1/packet-asn1.c) |
| |
| 4283 | | | static PDUprops * |
| 4284 | | | getPDUprops(PDUprops *out, guint offset, guint class, guint tag, guint cons) |
| 4285 | | | { |
| 4286 | | | statestack pos, pos2, save_pos; |
| 4287 | | | PDUinfo *info; |
| 4288 | | | const char *ret, *tmp; |
| 4289 | | | int typeflags = 0, donext = 0, pushed = 0, cons_handled = 0; |
| 4290 | | | static char namestr[64]; |
| 4291 | | | static char posstr[40]; |
| 4292 | | | static char noname[] = "*noname*"; |
| 4293 | | | static PDUprops constructed_save; |
| 4294 | | | |
| 4295 | | | if (PDUstatec > 0) |
Event 1:
Skipping " if". PDUstatec > 0 evaluates to false.
hide
|
|
| 4296 | | | pos = POPSTATE; |
| 4297 | | | |
| 4298 | | | |
| 4299 | | | |
| 4300 | | | if ((PDUstatec > 0) && (pos.type & TBL_CONSTRUCTED)) {
x /home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/asn1/packet-asn1.c |
| |
252 | #define TBL_CONSTRUCTED 0x01000000 /* unexpectedly constructed entry */ |
| |
|
Event 2:
Skipping " if". PDUstatec > 0 evaluates to false.
hide
|
|
| 4301 | | | |
| 4302 | | | g_sprintf(posstr, "==off=%d %c%d%c", offset, tag_class[class], tag, cons?'c':'p'); |
| 4303 | | | showstack(&pos, posstr, 3); |
| 4304 | | | pos.offset = offset; |
| 4305 | | | pos.type &= ~TBL_CONSTRUCTED;
x /home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/asn1/packet-asn1.c |
| |
252 | #define TBL_CONSTRUCTED 0x01000000 /* unexpectedly constructed entry */ |
| |
|
| 4306 | | | PUSHNODE(pos); |
| 4307 | | | PUSHNODE(pos); |
| 4308 | | | *out = constructed_save; |
| 4309 | | | if (asn1_verbose) |
| 4310 | | | g_message(" return for constructed %s (%s)%s",
x /usr/include/glib-2.0/glib/gmessages.h |
| |
147 | #define g_message(...) g_log (G_LOG_DOMAIN, \ |
148 | G_LOG_LEVEL_MESSAGE, \ |
149 | __VA_ARGS__) |
| |
|
| 4311 | | | TBLTYPE(out->type), out->typename, out->name); |
| 4312 | | | return out; |
| 4313 | | | } |
| 4314 | | | |
| 4315 | | | save_pos = pos; |
| |