POP3.cpp Crashes Board
Posted: Tue Dec 23, 2014 2:49 pm
To whom it may concern:
I found my otherwise-stable email client code crashing my board when using a certain email server. I dug in deeper and found that the lines
and
within NB's POP3.cpp (my NB release is v2.5.3) might be NULL, causing problems later. For those experiencing a similar issue, I would change that NB code to check for a NULL before moving on.
I found my otherwise-stable email client code crashing my board when using a certain email server. I dug in deeper and found that the lines
Code: Select all
( *subject_ptr ) = strstr( buffer, "Subject:" );
Code: Select all
( *body_ptr ) = strstr( buffer, "Content-Type:" );