summaryrefslogtreecommitdiff
path: root/geoip.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-10-27 12:11:09 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-10-27 12:11:09 +0100
commite3822bdbd11f1546b002f00cc018a612e2f3d3e5 (patch)
tree609b1c3fae9bfd92b44fdb44b5131d2efcbb939a /geoip.h
parentbd031f809422ea88b9619924911aa5112f95b6b3 (diff)
flowtop: Use strlcpy instead of memcpy to copy strings
Make sure we always terminate the strings with '\0'. Also only set the first byte to '\0' instead of memset()ing the entire buffer in case no city/country is returned. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'geoip.h')
0 files changed, 0 insertions, 0 deletions
xtract dma-buf.rst Update Documentation/00-INDEX docs: 00-INDEX: document directories/files with no docs docs: 00-INDEX: remove non-existing entries docs: 00-INDEX: add missing entries for documentation files/dirs docs: 00-INDEX: consolidate process/ and admin-guide/ description scripts: add a script to check if Documentation/00-INDEX is sane Docs: change sh -> awk in REPORTING-BUGS Documentation/core-api/device_link: Add initial documentation core-api: remove an unexpected unident ppc/idle: Add documentation for powersave=off Doc: Correct typo, "Introdution" => "Introduction" Documentation/atomic_ops.txt: convert to ReST markup Documentation/local_ops.txt: convert to ReST markup Documentation/assoc_array.txt: convert to ReST markup docs-rst: parse-headers.pl: cleanup the documentation docs-rst: fix media cleandocs target docs-rst: media/Makefile: reorganize the rules docs-rst: media: build SVG from graphviz files docs-rst: replace bayer.png by a SVG image ...
Diffstat (limited to 'block/blk-integrity.c')