osmocom-bb[master]: mobile/gsm322.c: avoid using memset with zero length

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed May 17 21:04:31 UTC 2017


Patch Set 2: Code-Review-1

I don't think we should modify our code to introduce a conditional path, make it "more complex" [although it's only a tiny bit] to silence a compiler warning about an API usage that seems safe.  If there is a spec reference out there telling us that 0-length-memset is illegal, we add your patch, otherwise I don't think we should.

-- 
To view, visit https://gerrit.osmocom.org/2664
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ifc8a06dd100ce494e3bcfbc7636738435fa5e34d
Gerrit-PatchSet: 2
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-HasComments: No



More information about the gerrit-log mailing list