-
-
-
-
branches/amp_4_0/src/backend/sys_tool.c (Diff revision 1) buf is allocated with size MAX_LINE_SIZE + 1 and max_buff = 4096 may cause buffer overflow. So calloc buf with 4096.
Same for other places also
AA-2844 : Fix platform dependencies and compile time issues
Review Request #867 — Created May 15, 2025 and submitted
| Information | |
|---|---|
| pmurugaiyan | |
| AMP | |
| amp_4_0 | |
| AA-2844 | |
| Reviewers | |
| apoorva.sn, mmiriam, ngurunathan, prajesh | |
Fix platform dependencies and compile time issues
1. Fixed a couple of compile time issues
2. Thanks Madhuri for the assistance.Note: Not all the compilation errors are resolved. Commiting the changes that I did so far.
The changes are tested locally.
-
-
branches/amp_4_0/src/backend/backend.c (Diff revision 2) size should be 2 only. pos is a. pointer takes 4 or 8bytes.
Diff: |
Revision 3 (+63 -70)
|
|---|
