s3:web/swat: use strtoll() instead of atoi/atol/atoll
authorStefan Metzmacher <metze@samba.org>
Fri, 5 Aug 2011 17:48:38 +0000 (19:48 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Aug 2011 11:23:39 +0000 (13:23 +0200)
commitac5d8c0148e10a3a0af9e1dc0849bb6920c26ad7
tree92790d5a4aad42ce1cf7cd49f5f8cb72518e0bef
parent6165a7684320b83089b4cbdbd41b9f8dd43e2a45
s3:web/swat: use strtoll() instead of atoi/atol/atoll

This is more portable, as we have a strtoll replacement
in lib/replace.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Aug  6 11:55:45 CEST 2011 on sn-devel-104
(cherry picked from commit a6be0820d09b3f3eabfbb5f4356add303aa8a494)

Fix bug #8347 (CVE-2011-2522 regression for HP-UX, AIX and OSF).
source3/web/swat.c