summaryrefslogtreecommitdiff
path: root/libpackagelistparser/packagelistparser_test.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2019-09-26 01:49:56 +0800
committerJosh Gao <jmgao@google.com>2019-09-26 01:56:58 +0800
commit76b64ba82609fa165889ef47bda740c20f0fc1f9 (patch)
tree227697533f7655e5206174c04882fe1325114227 /libpackagelistparser/packagelistparser_test.cpp
parent983f76b3c632b29ca6ff858d986378a9028493c2 (diff)
adb: fix infinite loop when attempting to push to //foo.
dirname (on glibc, at least) preserves multiple leading slashes, and we were looping until path != "/", which would lead to an infinite loop when attempting to push to a path like //data/local/tmp. Bug: http://b/141311284 Test: python -m unittest test_device.FileOperationsTest.test_push_multiple_slash_root Change-Id: I182b3e89ef52579c716fdb525e9215f1fe822477
Diffstat (limited to 'libpackagelistparser/packagelistparser_test.cpp')
0 files changed, 0 insertions, 0 deletions