Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Security fix for err_trans
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Nov 29, 2023
1 parent edd9019 commit 5cdec68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tran.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ static inline int allSpaces(char *v2) {

void parseFree(int last);

#define err_trans(chr) Rf_errorcall(R_NilValue, _(chr));
#define err_trans(chr) Rf_errorcall(R_NilValue, "%s", _(chr));

void _rxode2parse_unprotect(void);

Expand Down

0 comments on commit 5cdec68

Please sign in to comment.