summaryrefslogtreecommitdiff
path: root/scripts%2525252525252525253fid%2525252525252525253dafa57d77c03e44bee59fbf4175...
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-03-01 23:15:38 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2012-03-12 20:36:22 +0100
commit2c9499bf272e06a62902711c6c20621ef3f80e64 (patch)
tree6c71560531acf606557a586fa3cdf712e55b2960 /scripts%2525252525252525253fid%2525252525252525253dafa57d77c03e44bee59fbf41754a53833c902ce3%25252525252525253fid%25252525252525253dafa57d77c03e44bee59fbf41754a53833c902ce3%252525252525253fid%252525252525253da5eea86a07c9d0bd66d3a993d9e07c88abf34716%2525252525253fid%2525252525253d7cb0fc4cd9c4716fda91b6df8582ad2e994e5cb5%25252525253fid%25252525253dc9aff6d2131d6167a39813278130c5441e3a60d3%252525253fid%252525253d481cb5524f8e165bbe3c17bb04bdc7330dd7a923%2525253fid%2525253d481cb5524f8e165bbe3c17bb04bdc7330dd7a923%25253fid%25253d481cb5524f8e165bbe3c17bb04bdc7330dd7a923%253fid%253d481cb5524f8e165bbe3c17bb04bdc7330dd7a923%3fid%3d0f4b45e62487e32e789571912fd2190168f753bc?id=2c9499bf272e06a62902711c6c20621ef3f80e64
parent7072c9c88a5d54b3f22256e6cf0015e1900374da (diff)
Use strcmp() instead of strncmp()
strncmp() isn't intended to be a secure strcmp() replacement, it is designed to be used if you want to compare the first n characters of two strings. Since we always compare character pointers with string literals, switch to using strcmp() everywhere. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'scripts%2525252525252525253fid%2525252525252525253dafa57d77c03e44bee59fbf41754a53833c902ce3%25252525252525253fid%25252525252525253dafa57d77c03e44bee59fbf41754a53833c902ce3%252525252525253fid%252525252525253da5eea86a07c9d0bd66d3a993d9e07c88abf34716%2525252525253fid%2525252525253d7cb0fc4cd9c4716fda91b6df8582ad2e994e5cb5%25252525253fid%25252525253dc9aff6d2131d6167a39813278130c5441e3a60d3%252525253fid%252525253d481cb5524f8e165bbe3c17bb04bdc7330dd7a923%2525253fid%2525253d481cb5524f8e165bbe3c17bb04bdc7330dd7a923%25253fid%25253d481cb5524f8e165bbe3c17bb04bdc7330dd7a923%253fid%253d481cb5524f8e165bbe3c17bb04bdc7330dd7a923%3fid%3d0f4b45e62487e32e789571912fd2190168f753bc?id=2c9499bf272e06a62902711c6c20621ef3f80e64')
0 files changed, 0 insertions, 0 deletions