diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-01-01 13:04:44 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-01-01 21:36:58 +0000 |
commit | e12270a730a60636ad36c06957b7e1f687c562a7 (patch) | |
tree | fe3302eba8155508dafc2859b557843962533719 /ui/export_object_ui.c | |
parent | bac10e586948943f51f36cdad59b409c7de825c3 (diff) |
Limit the maximum *file* name length for exported objects.
Limiting the maximum *path* name length is bogus; if the user wants to
store the file in some directory deep under the root (UN*X) or the root
of the drive (Windows), that's their choice - don't prevent them from
saving in a directory with a path longer than some maximum or limit the
file name based on the length of the path leading up to it.
Limiting the maximum *file* name is presumably to cope with, for
example, HTTP objects with a URL that had a very long query component,
so it makes sense.
Change-Id: Idfc7de8124ee80bdd4950341ff2239834eb9f6f6
Reviewed-on: https://code.wireshark.org/review/31295
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/export_object_ui.c')
0 files changed, 0 insertions, 0 deletions