GSM_AT_commands_parser icon indicating copy to clipboard operation
GSM_AT_commands_parser copied to clipboard

Overflowing memory

Open Hmissa opened this issue 8 years ago • 3 comments

Hi Tilen,

My problem is when i want to list all SMS( I have 3 long SMS in my sim), I have an overflowing memory and the attribute of the GSM struct are modified.

Best Regards, Saif.

Hmissa avatar Jan 17 '17 16:01 Hmissa

Means sms is not in ascii format. There is nothing I cam do. Sms length is max 160 bytes and zero at the end.

MaJerle avatar Jan 17 '17 16:01 MaJerle

i mean if you can do a security allocation memory for the GSM struct

Hmissa avatar Jan 17 '17 16:01 Hmissa

Everything I can easily do is to use malloc for addiitional allocation but the there is need for upgraded function because user has to clear memory after use.

MaJerle avatar Jan 17 '17 16:01 MaJerle