Page 1 of 1

POP3.cpp Crashes Board

Posted: Tue Dec 23, 2014 2:49 pm
by kackle123
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

Code: Select all

( *subject_ptr ) = strstr( buffer, "Subject:" );
and

Code: Select all

( *body_ptr ) = strstr( buffer, "Content-Type:" );
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.

Re: POP3.cpp Crashes Board

Posted: Fri Dec 26, 2014 11:46 am
by dciliske
Issue noted. I'll take a look at this after the holidays.

-Dan