summaryrefslogtreecommitdiff
path: root/sock.h
diff options
context:
space:
mode:
authorMichael R Torres <mic.ric.tor@gmail.com>2020-02-20 20:29:00 -0800
committerTobias Klauser <tklauser@distanz.ch>2020-02-21 11:51:30 +0100
commit21b9cc33337e904dee4cac87794291ca95a148dd (patch)
tree444535dff98491b3a53b04093e3d7c57029a1090 /sock.h
parent1fe3d20291b339101d8931a15816add1ea85beef (diff)
mz: Zero memory allocated for new automops element
Prevent crashes when using mausezahn in interactive mode by using calloc to zero the memory upon allocation. Fixes #195 Signed-off-by: Michael R Torres <mic.ric.tor@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'sock.h')
0 files changed, 0 insertions, 0 deletions
88e9d5ab00d50b10228eb40d3&id2=731977e97b3697454a862fec656c2561eabc0b87'>diff)
wireless: define cipher/AKM suites using a macro
The spec writes cipher/AKM suites as something like 00-0F-AC:9, but the part after the colon isn't hex, it's decimal, so that we've already had a few mistakes (in other code, or unmerged patches) to e.g. write 0x000FAC10 instead of 0x000FAC0A. Use a macro to avoid that problem. Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/util/data-convert-bt.h')