summaryrefslogtreecommitdiff
path: root/ui-tag.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-12-03 00:39:20 +0100
committerLars Hjemli <hjemli@gmail.com>2007-12-03 00:39:20 +0100
commit2216fd6472fe183439df1a39c1c06974abc3f150 (patch)
tree063180038252f9a7116bed384aab20717e4990e4 /ui-tag.c
parent7b346647c9d8cc3b4acccecc3ede526dc4b2fb06 (diff)
downloadcgit-2216fd6472fe183439df1a39c1c06974abc3f150.tar.gz
cgit-2216fd6472fe183439df1a39c1c06974abc3f150.tar.bz2
cgit-2216fd6472fe183439df1a39c1c06974abc3f150.zip
Compare string lengths when parsing the snapshot mask
We used to rely on the result from strncmp() without comparing the length of the strings involved. Even worse, any single-character format specifier would enable zip-format due to the optional '.'-prefix since the length of the mask then would become zero. Noticed-by: Evan Martin <sys@neugierig.org> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
ené 'Necoro' Neumann2-0/+15 2008-06-23Fixed name of gpytage pluginRené 'Necoro' Neumann1-1/+1 2008-06-23Moved GtkThread to gui.utilsRené 'Necoro' Neumann5-29/+25 2008-06-22Implemented the mail sendingRené 'Necoro' Neumann2-3/+63 2008-06-22First mail window draftRené 'Necoro' Neumann3-0/+220 2008-06-10Added gpytage pluginRené 'Necoro' Neumann2-0/+29 2008-06-10Modified plugin.xsd so it allows also menu-only pluginsRené 'Necoro' Neumann2-7/+8 2008-06-10Fixed the default handlingRené 'Necoro' Neumann1-1/+1 2008-06-10Allowed default for session; load 'app-portage/portato' as default for select...René 'Necoro' Neumann2-10/+18 2008-06-09Fixed 'kill' in the systray popupRené 'Necoro' Neumann1-2/+2 2008-06-09Fixed error messageRené 'Necoro' Neumann2-4/+1 2008-06-08Make blocks way more intelligentRené 'Necoro' Neumann3-45/+107