Can somebody tell what is wrong in this
i am getting run time error -> Heap Buffer Overflow on a hidden test case\n\nclass Solution {\npublic:\n    static bool comp(string &a, string &b) {  \n        
i am getting run time error -> Heap Buffer Overflow on a hidden test case\n```\nclass Solution {\npublic:\n    static bool comp(string &a, string &b) {  \n        \n        if(a.size() > b.size()) return false;\n        else if(b.size() > a.size()) return true;\n        \n        for(int i = 0; i < a.size(); ++i) {\n            if(a[i] > b[i]) return false;\n            else if(b[i] > a[i]) return true;\n        }\n        \n        return true;\n    }\n    \n    string kthLargestNumber(vector<string>& nums, int k) {\n        sort(nums.begin(),nums.end(),comp);\n        return nums[nums.size() - k];\n    }\n};\n```\n\nThe error\n```\n=================================================================\n==32==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7f11d3b55808 at pc 0x000000346d82 bp 0x7ffd818548a0 sp 0x7ffd81854898\nREAD of size 8 at 0x7f11d3b55808 thread T0\n    #7 0x7f11d6ceb0b2  (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)\n0x7f11d3b55808 is located 8 bytes to the right of 524288-byte region [0x7f11d3ad5800,0x7f11d3b55800)\nallocated by thread T0 here:\n    #6 0x7f11d6ceb0b2  (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)\nShadow bytes around the buggy address:\n  0x0fe2ba762ab0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n  0x0fe2ba762ac0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n  0x0fe2ba762ad0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n  0x0fe2ba762ae0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n  0x0fe2ba762af0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n=>0x0fe2ba762b00: fa[fa]fa fa fa fa fa fa fa fa fa fa fa fa fa fa\n  0x0fe2ba762b10: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\n  0x0fe2ba762b20: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\n  0x0fe2ba762b30: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\n  0x0fe2ba762b40: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\n  0x0fe2ba762b50: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\nShadow byte legend (one shadow byte represents 8 application bytes):\n  Addressable:           00\n  Partially addressable: 01 02 03 04 05 06 07 \n  Heap left redzone:       fa\n  Freed heap region:       fd\n  Stack left redzone:      f1\n  Stack mid redzone:       f2\n  Stack right redzone:     f3\n  Stack after return:      f5\n  Stack use after scope:   f8\n  Global redzone:          f9\n  Global init order:       f6\n  Poisoned by user:        f7\n  Container overflow:      fc\n  Array cookie:            ac\n  Intra object redzone:    bb\n  ASan internal:           fe\n  Left alloca redzone:     ca\n  Right alloca redzone:    cb\n  Shadow gap:              cc\n==32==ABORTING\n```
[]