History log of /curl/tests/libtest/lib557.c (Results 26 – 49 of 49)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: curl-7_55_0, curl-7_54_1
# 35682764 29-May-2017 Jay Satiro

test557: fix ubsan runtime error due to int left shift

- Test curl_msnprintf negative int width arg using INT_MIN instead of
1 << 31 which is undefined behavior.

Closes https:

test557: fix ubsan runtime error due to int left shift

- Test curl_msnprintf negative int width arg using INT_MIN instead of
1 << 31 which is undefined behavior.

Closes https://github.com/curl/curl/issues/1516

show more ...


# 7cb1e1ee 04-May-2017 Dan Fandrich

test557: set a known good numeric locale

Windows does not allow setting the locale with environment variables (as
the test attempted to do), so the test failed when run with a user
l

test557: set a known good numeric locale

Windows does not allow setting the locale with environment variables (as
the test attempted to do), so the test failed when run with a user
locale that has a comma as radixchar. Changed the test to call
setlocale() explicitly to ensure that a known working locale is set even
on Windows.

show more ...


Revision tags: curl-7_54_0, curl-7_53_1, curl-7_53_0
# fab16de6 22-Dec-2016 Daniel Stenberg

lib557.c: use a shorter MAXIMIZE representation

Since several compilers had problems with the previous one

Reported-by: Ray Satiro
Bug: https://curl.haxx.se/mail/lib-2016-12/009

lib557.c: use a shorter MAXIMIZE representation

Since several compilers had problems with the previous one

Reported-by: Ray Satiro
Bug: https://curl.haxx.se/mail/lib-2016-12/0098.html

show more ...


Revision tags: curl-7_52_1
# e7458c1b 21-Dec-2016 Daniel Stenberg

lib557: move the "enable LONGLINE" to allow more long lines

This file is riddled with them...


Revision tags: curl-7_52_0
# 3ab3c16d 08-Nov-2016 Daniel Stenberg

printf: fix floating point buffer overflow issues

... and add a bunch of floating point printf tests


Revision tags: curl-7_51_0
# ac8a3149 08-Oct-2016 Daniel Stenberg

test557: verify printf() with 128 and 129 arguments


Revision tags: curl-7_50_3, curl-7_50_2, curl-7_50_1, curl-7_50_0, curl-7_49_1, curl-7_49_0, curl-7_48_0
# 68701e51 09-Mar-2016 Jay Satiro

mprintf: Fix processing of width and prec args

Prior to this change a width arg could be erroneously output, and also
width and precision args could not be used together without crashing

mprintf: Fix processing of width and prec args

Prior to this change a width arg could be erroneously output, and also
width and precision args could not be used together without crashing.

"%0*d%s", 2, 9, "foo"

Before: "092"
After: "09foo"

"%*.*s", 5, 2, "foo"

Before: crash
After: " fo"

Test 557 is updated to verify this and more

show more ...


# adeaf95e 03-Apr-2016 Daniel Stenberg

lib557: allow too long lines


Revision tags: curl-7_47_1
# 4af40b36 02-Feb-2016 Daniel Stenberg

URLs: change all http:// URLs to https://


Revision tags: curl-7_47_0, curl-7_46_0, curl-7_45_0, curl-7_44_0, curl-7_43_0, curl-7_42_1, curl-7_42_0
# 43eb8b28 02-Mar-2015 Sergei Nikulov

libtest: fixed linker errors on msvc

Bug: https://github.com/bagder/curl/pull/144


Revision tags: curl-7_41_0, curl-7_40_0, curl-7_39_0, curl-7_38_0, curl-7_37_1, curl-7_37_0, curl-7_36_0, curl-7_35_0
# 60bd2262 31-Dec-2013 Steve Holme

mprintf: Replaced internal usage of FORMAT_OFF_T and FORMAT_OFF_TU

Following commit 0aafd77fa4c6f2, replaced the internal usage of
FORMAT_OFF_T and FORMAT_OFF_TU with the external versio

mprintf: Replaced internal usage of FORMAT_OFF_T and FORMAT_OFF_TU

Following commit 0aafd77fa4c6f2, replaced the internal usage of
FORMAT_OFF_T and FORMAT_OFF_TU with the external versions that we
expect API programmers to use.

This negates the need for separate definitions which were subtly
different under different platforms/compilers.

show more ...


Revision tags: curl-7_34_0, curl-7_33_0, curl-7_32_0, curl-7_31_0, curl-7_30_0, curl-7_29_0
# 4a5aa668 04-Jan-2013 Yang Tse

Revert changes relative to lib/*.[ch] recent renaming

This reverts renaming and usage of lib/*.h header files done
28-12-2012, reverting 2 commits:

f871de0... build: make use

Revert changes relative to lib/*.[ch] recent renaming

This reverts renaming and usage of lib/*.h header files done
28-12-2012, reverting 2 commits:

f871de0... build: make use of 76 lib/*.h renamed files
ffd8e12... build: rename 76 lib/*.h files

This also reverts removal of redundant include guard (redundant thanks
to changes in above commits) done 2-12-2013, reverting 1 commit:

c087374... curl_setup.h: remove redundant include guard

This also reverts renaming and usage of lib/*.c source files done
3-12-2013, reverting 3 commits:

13606bb... build: make use of 93 lib/*.c renamed files
5b6e792... build: rename 93 lib/*.c files
7d83dff... build: commit 13606bbfde follow-up 1

Start of related discussion thread:

http://curl.haxx.se/mail/lib-2013-01/0012.html

Asking for confirmation on pushing this revertion commit:

http://curl.haxx.se/mail/lib-2013-01/0048.html

Confirmation summary:

http://curl.haxx.se/mail/lib-2013-01/0079.html

NOTICE: The list of 2 files that have been modified by other
intermixed commits, while renamed, and also by at least one
of the 6 commits this one reverts follows below. These 2 files
will exhibit a hole in history unless git's '--follow' option
is used when viewing logs.

lib/curl_imap.h
lib/curl_smtp.h

show more ...


# f871de00 28-Dec-2012 Yang Tse

build: make use of 76 lib/*.h renamed files

76 private header files renamed to use our standard naming scheme.

This change affects 322 files in libcurl's source tree.


Revision tags: curl-7_28_1, curl-7_28_0, curl-7_27_0, curl-7_26_0, curl-7_25_0, curl-7_24_0, curl-7_23_1, curl-7_23_0, curl-7_22_0, curl-7_21_7, curl-7_21_6, curl-7_21_5
# 1aeb635c 10-Mar-2011 Daniel Stenberg

sources: update source headers

All C and H files now (should) feature the proper project curl source
code header, which includes basic info, a copyright statement and some
basic disc

sources: update source headers

All C and H files now (should) feature the proper project curl source
code header, which includes basic info, a copyright statement and some
basic disclaimers.

show more ...


Revision tags: curl-7_21_4, curl-7_21_3, curl-7_21_2, curl-7_21_1, curl-7_21_0, curl-7_20_1
# 2309b4e3 24-Mar-2010 Daniel Stenberg

remove the CVSish $Id$ lines


Revision tags: curl-7_20_0
# 1a574942 04-Feb-2010 Yang Tse

Fix variable initialization


# a9a5a8e4 04-Feb-2010 Yang Tse

Modified test case 557 to additionally verify libcurl's internal curl_m*printf()
functions formatting functionality when handling signed and unsigned shorts.


Revision tags: curl-7_19_7, curl-7_19_6, curl-7_19_5, curl-7_19_4, curl-7_19_3, curl-7_19_2, curl-7_19_1
# 7c963108 21-Sep-2008 Yang Tse

fix compiler warning: external declaration in primary source file


# 7beb473a 20-Sep-2008 Yang Tse

include "memdebug.h"


Revision tags: curl-7_19_0
# 62d94ff3 24-Aug-2008 Yang Tse

Fix wrong signed int formatting string directive in test case #557.

This error did not cause test failures on systems where sizeof(int) == sizeof(long).


# 95cef39d 21-Aug-2008 Yang Tse

Test case 557 now also verifies signed and unsigned int formatting.


# 1c68e790 20-Aug-2008 Yang Tse

Simplify condition check


# 3e0b6a7d 18-Aug-2008 Yang Tse

Update test case 557


# 2f71461b 18-Aug-2008 Yang Tse

Added test case 557 to verify libcurl's internal curl_m*printf() functions
formatting functionality when handling signed and unsigned longs, as well as
our curl_off_t data type.


12