Neal Probert

Results 8 comments of Neal Probert

All those mallocs make me nervous. I ran valgrind on the check programs, got nothing. So I wrote a test program to call my routine above and ran valgrind on...

I rewrote the code a bit better, I hope. The API is barely documented here. A simpler valgrind output still shows problems, but within OCTET_STRING_new_fromBuf(). ``` int j2735_encode(const char *raw,...

Added ASN_STRUCT_FREE(asn_DEF_OCTET_STRING, oct); near the bottom and got no valgrind errors which kinda tells me that the OCTET_STRING didn't get added to the RTCMmessageList_t structure by ASN_SEQUENCE_ADD somehow. Traced this...

J2735 really challenges this compiler, breaks it bad probably. Seems it can't even encode an constrained INTEGER (long) in UPER. The value is supposed to be 12, but looks like...

Memory allocation is badly broken in ways not even valgrind can find. So I just built up my J2735 message by avoiding any dynamic memory allocation. And voila, things work...

I agree. The compiler should catch this, an evil cast, but it doesn't. I'm guessing this was an indirect function call through a table. Or a mis-cast void pointer.

I have my J2735_201603SA decoder working now. Don't know why folks here are doing BER/DER as UPER is the chosen standardized format. I do find that ASN_STRUCT_FREE crashes for J2735,...

In our case, our app is obsolete and have no need for the calendar. We have moved onto Python3 with PySide2 (QT5) and left Tk far behind.