[PATCH] gsm_utils.c: cleanup + do not use dynamic memory when decoding 7bit messages

Nico Golde osmocom at ngolde.de
Tue Sep 18 14:31:14 CEST 2012


Hi,
* Sylvain Munaut <246tnt at gmail.com> [2012-09-18 13:52]:
> > New patch attached.
> >
> 
> I'm not a big fan of adding this limitation ... and linking to the log
> system as well.

I agree.

> AFAICT there is nothing that prevents rewriting the algorithm itself to
> just not need a buffer at all.

Attached is a rewritten patch that removes the buffer 
completely based on your input on IRC.

Kind regards
Nico

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-gsm_utils.c-cleanup-do-not-use-dynamic-memory-when-d.patch
Type: text/x-diff
Size: 2059 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20120918/3c3dd34d/attachment.patch>


More information about the baseband-devel mailing list