intrig / xenon

The Intrig Message Decoder
MIT License
1 stars 6 forks source link

bad_alloc exception with xenon::find_first #59

Closed wythe closed 4 years ago

wythe commented 4 years ago

On windows, reproduce with:

  xenon::spec_server d("icd.xddl");
  auto decoded_msg = xenon::parse(d, "0101011107952901a3de0a800982511effffffff");
  auto c = xenon::find_first(decoded_msg, "DATA/MSG_TYPE");

Compliments: @rgyger

wythe commented 4 years ago

There was a bug in the xddl definition that is fixed in #60. The underlying issue still has to be resolved -- the engine should handle gracefully.

wythe commented 4 years ago

Underlying issue resovlved in #61