[PATCH] chg: check snprintf result strictly
Sean Farley
sean at farley.io
Wed Jan 11 19:02:39 UTC 2017
Jun Wu <quark at fb.com> writes:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1484149164 -28800
> # Wed Jan 11 23:39:24 2017 +0800
> # Node ID 5cbdc769201b22cbc4f698c7bc9235984c7cf427
> # Parent e882c7bb5a0ba2589a44108c9a87b300a13e08df
> # Available At https://bitbucket.org/quark-zju/hg-draft
> # hg pull https://bitbucket.org/quark-zju/hg-draft -r 5cbdc769201b
> chg: check snprintf result strictly
>
> This makes the program more robust when somebody changes hgclient's
> maxdatasize in the future.
This looks good to me.
More information about the Mercurial-devel
mailing list