Skip to content
This repository has been archived by the owner on Feb 10, 2018. It is now read-only.

Overflowing memory #6

Open
Hmissa opened this issue Jan 17, 2017 · 3 comments
Open

Overflowing memory #6

Hmissa opened this issue Jan 17, 2017 · 3 comments

Comments

@Hmissa
Copy link

Hmissa commented Jan 17, 2017

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.

@MaJerle
Copy link
Owner

MaJerle commented Jan 17, 2017

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

@Hmissa
Copy link
Author

Hmissa commented Jan 17, 2017

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

@MaJerle
Copy link
Owner

MaJerle commented Jan 17, 2017

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants