I find only two places where pushDatagramMsg() is called. One with pExt!=NULL, and the other with pExt==NULL && extsize==0. So this won't currently trigger a issue. I see no harm in adding a NULL test for pExt, or an assert() that pExt==NULL requires extsize==0.
I find only two places where pushDatagramMsg() is called. One with pExt!=NULL, and the other with pExt==NULL && extsize==0. So this won't currently trigger a issue. I see no harm in adding a NULL test for pExt, or an assert() that pExt==NULL requires extsize==0.