]> granicus.if.org Git - curl/commit
urlglob: fix division by zero
authorDaniel Stenberg <daniel@haxx.se>
Sat, 10 Jun 2017 12:35:07 +0000 (14:35 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 13 Jun 2017 07:25:45 +0000 (09:25 +0200)
commit5fa028e508056e3569beb5698e3f52e45fea94da
tree4ef6adfa96addd748cc4e8d2f6b120e093747ef4
parentf6dff827d321933a21cb7a697d3007c2ed90217b
urlglob: fix division by zero

The multiply() function that is used to avoid integer overflows, was
itself reason for a possible division by zero error when passed a
specially formatted glob.

Reported-by: GwanYeong Kim
src/tool_urlglob.c